You could try `busted --pattern=.moon --pattern=$filename` instead of building the full path. It could "fail" sometimes and run more tests then you would expect, but I think it's more flexible.