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

Test classes loaded before suite bootstrap normal? #2872

Closed
georaldc opened this issue Mar 2, 2016 · 1 comment
Closed

Test classes loaded before suite bootstrap normal? #2872

georaldc opened this issue Mar 2, 2016 · 1 comment
Labels

Comments

@georaldc
Copy link

georaldc commented Mar 2, 2016

I just noticed that test files get loaded first before a suite's bootstrap file. Is this normal behavior? What I was trying to do was bootstrap my test suite first by loading whatever framework I was using, as well as registering any autoloaders before my tests would execute. One problem here is because my test files load up first, I can't have classes that extend off of other classes that should be autoloaded (because the suite's bootstrap file hasn't been called yet)

The global bootstrap file seems to be unaffected at least and gets loaded first before everything else.

@georaldc
Copy link
Author

georaldc commented Mar 2, 2016

Hmm, this might be the same thing happening in issue #862

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants