liuggio / fastest

Simple parallel testing execution... with some goodies for functional tests.
MIT License
475 stars 65 forks source link

Cannot open phpunit testsuite directories #26

Closed rvanlaak closed 8 years ago

rvanlaak commented 9 years ago

Fastest is not able to open testsuite directories containing wildcard characters

2 failures.

[1] ../src/*/Bundle/*Bundle/TestsCannot open file "../src/*/Bundle/*Bundle/Tests.php".

[2] ../src/*/*Bundle/TestsCannot open file "../src/*/*Bundle/Tests.php".

An example of the wildcard containing xml file can be found a symfony/symfony

liuggio commented 9 years ago

Yes is well known bug, I never have time to improve the phpunit.xml reader, also because you can use ls or find like the bigger do: https://github.com/symfony/symfony/blob/2.7/.travis.yml#L41

Would you like to improve it?

rvanlaak commented 9 years ago

I might, but maybe ask @sebastianbergmann for some hints and best practices first.

liuggio commented 9 years ago

Which is the question you want to ask? Do you think an option could be use the PHPUnit suite iterator?

rvanlaak commented 9 years ago

Well I think PHPUnit should be able to return all tests, and thereafter the fasterst iterator can be used to distribute those tests

ReservedDeveloper commented 8 years ago

:+1:

This would be particularly helpful for individuals who may have additional configuration in their phpunit.xml file (ex: coverage reports)

liuggio commented 8 years ago

@ReservedDeveloper would you like to develop the extension?

peterrehm commented 8 years ago

I just proposed a PR in this regards.