-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
phpunit test suite cannot be run repeatedly #122
Comments
runTests.sh should always run the vagrant provisioning script, and that is supposed refresh the environment. You can see this in the setupEnvironment.sh script and then in the provisioning.sh one. If that's not working then there's definitely a bug that needs to be looked at. |
Well, I guess part of the problem I'm running into there is that I couldn't get When I run
When I literally copy and run the lines from the |
Something I noticed as I was working on #121: with a fresh Vagrant environment, you can run the phpunit test suite once and everything passes. Run it again immediately, and you're hit with several failures because the test suite makes changes to the environment without resetting those changes when it's done.
Here are the errors:
Obviously it makes adding tests difficult if you can only run the suite once each time the entire Vagrant environment is set up. Initially, I looked at fixing these issues by reversing environment changes in the tests themselves, but the changes are all over the place. I thought I'd check before doing anything huge here.
Would it be possible to modify
runTests.sh
to setup the vagrant environment if it doesn't exist, and to otherwise just reset the environment?The text was updated successfully, but these errors were encountered: