Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the way to configure the test autoloading #8

Merged
merged 2 commits into from
Dec 6, 2015

Conversation

stof
Copy link
Contributor

@stof stof commented Sep 17, 2015

Using autoload-dev rather than a bootstrap file to register the test autoloading is easier.
The bootstrap file was also incompatible with composer-installed phpunit because of its usage of _once to load the autoload.php file, which would return true rather than the ClassLoader if the file was already loaded previously.

Using autoload-dev rather than a bootstrap file to register the test
autoloading is easier.
The bootstrap file was also incompatible with composer-installed phpunit
because of its usage of _once to load the autoload.php file, which would
return true rather than the ClassLoader if the file was already loaded
previously.
Code coverage report should include only the library code, not tests and
vendors.
@stof
Copy link
Contributor Author

stof commented Dec 2, 2015

@beberlei ping

@kbond
Copy link
Contributor

kbond commented Dec 3, 2015

@stof should it be switched to psr4 as well?

beberlei added a commit that referenced this pull request Dec 6, 2015
Improve the way to configure the test autoloading
@beberlei beberlei merged commit 11fef91 into beberlei:master Dec 6, 2015
@beberlei
Copy link
Owner

beberlei commented Dec 6, 2015

@kbond not a fan of PSR-4, so no :-)

@stof stof deleted the better_test_config branch April 30, 2017 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants