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
BUG

Comments

@georaldc
Copy link

@georaldc 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 georaldc commented Mar 2, 2016

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

@DavertMik DavertMik added BUG and removed BUG labels Mar 10, 2016
DavertMik added a commit that referenced this issue Mar 10, 2016
DavertMik added a commit that referenced this issue Mar 10, 2016
@DavertMik DavertMik closed this Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.