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

Dropped test run time from 3 minutes to 3 seconds #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

josephmcdermott
Copy link

Rather than creating 550 products, the test will now inject 550 entries in to the changelog table and then create a single product afterwards. The result should be the same, ie. more than 500 entries in the changelog table with our single test product not being one of them.

@joshdifabio
Copy link
Contributor

Thanks for this.

I wonder if it might be better to add this functionality as a separate method; that way, it'd still be possible to prove the bug using pure Magento functionality (without updating the changelog table directly) with the faster method available for convenience.

Maybe a new method named testMoreThan500ChangesFast or something to that effect?

Also, could you update README.md?

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