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

refs #67773 - test suite love #247

Merged
merged 1 commit into from
Jun 14, 2017
Merged

refs #67773 - test suite love #247

merged 1 commit into from
Jun 14, 2017

Conversation

andrewdang17
Copy link
Contributor

Test Speed
Individual tests files I changed run faster but when running the entire test suite we maybe saved like 2 seconds...I used build_stubbed which is faster than build/create, combined some feature tests to avoid logging in and revisiting the same route, and dryed up some tests. Not sure what else can be done to speed these tests up (significantly).

Test Coverage
Coverage looks pretty good already, ~96% with SimpleCov. The other 4% is just some simple controller tests that I think would be unnecessary to add but I could add them if you want.

Flickering Tests
Didn't come across any

Copy link
Member

@jamesmk jamesmk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the additions of build_stubbed and consolidations with before. Looks like your previous PR added a conflict here. Fix that and we are good.

@andrewdang17 andrewdang17 force-pushed the 67773-test-suite-love branch from b6cacee to df96374 Compare June 14, 2017 17:06
@andrewdang17
Copy link
Contributor Author

conflicts resolved

@jamesmk jamesmk merged commit 465a143 into master Jun 14, 2017
@jamesmk jamesmk deleted the 67773-test-suite-love branch June 14, 2017 22:49
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