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

Default the template helper test blueprint to integration style #14970

Merged

Conversation

rondale-sc
Copy link
Contributor

Potentially bike-shedding, but I find integration style template-helper tests to be more useful in day-to-day use. This commit only changes default behavior to integration.

Would love to have a discussion about the relative pros and cons of the proposed change.

Cheers!

@rwjblue
Copy link
Member

rwjblue commented Feb 27, 2017

I'm in favor of making integration the default here, and think it generally corresponds to the happy path of testing "reality"...

@rondale-sc rondale-sc force-pushed the default-helper-test-to-integration branch 2 times, most recently from c98e402 to 4daf0ca Compare February 28, 2017 00:02
@locks
Copy link
Contributor

locks commented Feb 28, 2017

Does this impact the testing guides?

@rondale-sc
Copy link
Contributor Author

@locks looks like the unit testing section in the testing guide uses models as the de facto unit test. I'm not sure if we'd see problems with this change elsewhere.

Regardless I'm having a little bit of difficulty figuring out these last few failures. Hopefully will be able to spend some time on them tomorrow.

@rondale-sc rondale-sc force-pushed the default-helper-test-to-integration branch from 4daf0ca to 9ace9fe Compare March 1, 2017 15:02
@rondale-sc
Copy link
Contributor Author

I believe this should pass now, but not sure if it is retriggering a build. 🤔

@rwjblue
Copy link
Member

rwjblue commented Mar 1, 2017

Seems likely that the delay/issue is related to AWS issues (see https://www.traviscistatus.com/ for details).

@rondale-sc rondale-sc force-pushed the default-helper-test-to-integration branch from 9ace9fe to 73411d0 Compare March 3, 2017 21:21
@rondale-sc
Copy link
Contributor Author

Rebased against master and that triggered the build. 🎉

@rwjblue
Copy link
Member

rwjblue commented Mar 3, 2017

LGTM, @stefanpenner r?

@stefanpenner stefanpenner merged commit 941193e into emberjs:master Mar 5, 2017
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.

4 participants