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

Add moduleForIntegration #144

Merged
merged 1 commit into from
Jan 27, 2016

Conversation

captain-enjoyable
Copy link
Contributor

This PR moves component integration testing behavior into its own module named (unsurprisingly 😄) TestModuleForIntegration. This new module now depends on AbstractTestModule instead of TestModule thus removing boilerplate. Additionally, the new module doesn't contain behavior associated with 'legacy' and unit tests.

@captain-enjoyable captain-enjoyable changed the title Module for integration WIP Jan 25, 2016
@@ -1,17 +1,16 @@
import Ember from 'ember';
import hasEmberVersion from 'ember-test-helpers/has-ember-version';
import { TestModuleForComponent } from 'ember-test-helpers';
import { TestModuleForIntegration } from 'ember-test-helpers';
import test from 'tests/test-support/qunit-test';
import qunitModuleFor from 'tests/test-support/qunit-module-for';
import { setResolverRegistry } from 'tests/test-support/resolver';

function moduleForComponent(name, description, callbacks) {
Copy link
Member

Choose a reason for hiding this comment

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

Change this to moduleForIntegration for clarity.

@captain-enjoyable captain-enjoyable force-pushed the module-for-integration branch 3 times, most recently from 8b22bec to 595c0b4 Compare January 25, 2016 05:59
@captain-enjoyable captain-enjoyable changed the title WIP Add moduleForIntegration Jan 26, 2016
@rwjblue
Copy link
Member

rwjblue commented Jan 26, 2016

This looks good to me. I'm happy to land this and iterate.

@mmun r?

@mmun
Copy link
Member

mmun commented Jan 26, 2016

@rwjblue r+

rwjblue added a commit that referenced this pull request Jan 27, 2016
@rwjblue rwjblue merged commit f7f77db into emberjs:master Jan 27, 2016
@captain-enjoyable captain-enjoyable deleted the module-for-integration branch January 28, 2016 19:33
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.

3 participants