Problem: I've run into another case where one package (php-guzzlehttp-guzzle) requires another package's (php-guzzlehttp-ringphp) test classes but the test classes are not provided in any package. I'd like to include test classes as sub-packages so they could be installed if needed, but I'd also like to make them PSR-0 loadable instead of using individual "/usr/share/tests/*" directories for each package which I've done in the past.
I'm wondering in my case, could I create sub-package php-guzzlehttp-ringphp-tests that installs it's test classes into either:
1) "/usr/share/php" so auto loading would work OOB
2) "/usr/share/tests/php" (nothing uses this yet) that could be used for PSR-0 auto loading but would need to be specifically added to the include path when running phpunit
Thoughts?
Shawn
_______________________________________________ php-devel mailing list php-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/php-devel