Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Test classes loaded before suite bootstrap normal? #2872
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.