peridot-php / peridot

Event driven BDD test framework for PHP
http://peridot-php.github.io/
MIT License
328 stars 27 forks source link

Slightly goofy globbing #143

Closed austinsmorris closed 9 years ago

austinsmorris commented 9 years ago

There is something a little goofy about our globbing when we do SuiteLoader::getTests($path).

Sometimes there is an extra directory separator in one of the paths:

specs/Foo/Api/Route/Middleware//register-application-middleware.spec.php
brianium commented 9 years ago

I think that is a perfectly valid path still, just not as pretty to look at

brianium commented 9 years ago

in the concurrency plugin i look for it to strip it

brianium commented 9 years ago

But.... most likely this line:

https://github.com/peridot-php/peridot/blob/master/src/Runner/SuiteLoader.php#L78