-
-
Notifications
You must be signed in to change notification settings - Fork 875
Conversation
@trek I started changing the naming for integration tests since ember-cli uses acceptance tests. Can I change the URL field too? I didn't do it just in case keeping the same URL is important somehow. |
The changes seem good to me, but @trek will need to weigh in on the url change... |
url changes are fine. |
@Serabe - Can you comment out the JSBin's in this section? |
@rwjblue I'm going section by section changing and improving the guide trying to make sure the content is consistent with the rest of the testing guide. I guess my approach is a bit slower but I think is worth it so we can get a better final result. If time is a hard constraint, I can do a fast conversion and go through it once again after that adding more consistency. |
Should I add documentation about helpers behind a feature flag? Maybe commented out? |
I'm always 👍 on incremental improvements. I'd PR a quick pass and then continue work on a better fix. |
Just leave them out for now. We haven't really thought about a strategy for beta docs yet. |
I'll do the quick changes this night to be ready for tomorrow's new release. Then, I'll go on improving them bit by bit. Thank you. |
Quick status update:
Again, sorry for the delay. |
I forgot one question: should we remove the section about test runners since it is seems that ember-cli documentation is a better place for a guide about that? Furthermore, the information lying there is pretty much useless with ember-cli. |
Looks good for a merge. Can you squash this? |
@trek: squashed. I have three questions left:
|
,
@rwjblue probably knows
Removal is fine |
Thank you for your input, @trek. I have remove the section and improve the If this is all ok, I'll squash them again so you can merge the PR. Thank you. |
👍 squash please |
Change "Integration" to "Acceptance" tests. Ember-CLI generator is `acceptance-test`, not `integration-test`. This change aligns naming between the g Change "Integration" to "Acceptance". Ember-CLI nomenclature is "Acceptance test" and not "Integration test". Minor changes to testing/index Add comma and change adapter to addons. Change Setup section to Introduction. Since acceptance testing works in ember-cli out-of-the-box it makes no sense to explain how to setup QUnit manually. Remove section on third-party libraries. This section seem to be far from the current way to create these adapters. I would either remove the section entirely or create a new guide for writing testing addons in ember-cli. I'd appreciate some input from @trek. Change integration URL to acceptance. Update the testing helpers section to ember cli. I might need some help with how to use them inside the startApp script since the ember-cli example just imports them and that seems a bit strange. //@trek Update user interaction section. Update unit testing basics. Update Testing components section. Section testing a component using acceptance helpers has been removed. Section for nested components has been commented out until I figure out how to load the template compiler in a test. Remove jsbin from remaining guides. Fix expect without assert first. Update testing-routes guide. Remove Ember imports. Update testing-models guide. Update testing-controllers. Remove test-runners section. This section is pointless now since ember-cli comes with most of these features out of the box. Improve section test-helpers.
@trek done! |
[WIP] Update: Testing section to cli
[WIP] Update the testing section to ember-cli.