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

Functional Tests Improvements #5095

Merged
merged 3 commits into from
Feb 24, 2018
Merged

Conversation

dmeltzer
Copy link
Contributor

  • Split functional tests into two groups for travis. Run them independantly. This should fix the running out of memory issue. Note: This will require adding any new functional test files to one of the two func-part- files in tests/functional before they run on travis*
  • Rely on laravels transaction support for cleaning up between tests instead of reloading the database dump. This cuts the time required to run functional tests down by 75% (From 2min to 30seconds here).
  • Use mysql to populate db directly initially.

…between functional test runs. Cuts functional test runtime by 75%. Also use mysql to seed directly.
…mory usage. Any new tests will need to be added to one of these two files before they are run on travis. running all functional tests simultaneously still works locally.
@dmeltzer dmeltzer requested a review from snipe as a code owner February 24, 2018 16:45
@snipe snipe merged commit d54dda4 into snipe:develop Feb 24, 2018
@dmeltzer dmeltzer deleted the functional-memory branch July 17, 2018 00:51
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.

2 participants