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

Refactor to use the extracted lib ember-test-helpers #99

Merged
merged 1 commit into from
Oct 28, 2014
Merged

Refactor to use the extracted lib ember-test-helpers #99

merged 1 commit into from
Oct 28, 2014

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Oct 20, 2014

This PR extracts the core logic from ember-qunit into switchfly/ember-test-helpers. This library now simply wraps ember-test-helpers with QUnit-specific helpers. This approach allows other libraries, such as ember-mocha, to share the same internals.

This PR also removes the dist/ dir. @rwjblue favors creating a separate bower repo for distribution.

Also, karma has been replaced with testem to be consistent with ember-cli and its related libraries.

Credit for backing all of this work, including the development of ember-test-helpers and ember-mocha, goes to my client Switchfly. Many thanks to them!

The core logic in ember-qunit has been extracted to switchfly/ember-test-helpers.

This library now wraps ember-test-helpers with qunit-specific helpers.
});
}

var a = 0;
Copy link
Member

Choose a reason for hiding this comment

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

Any chance a and b could be renamed? Its pretty hard to follow the test logic with all the += and -=

Copy link
Member Author

Choose a reason for hiding this comment

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

I am open to suggestions to improve the clarity of those tests. They really have to be analyzed as a complete set due to the nature of what they're testing (test setup / teardown).

rwjblue added a commit that referenced this pull request Oct 28, 2014
Refactor to use the extracted lib ember-test-helpers
@rwjblue rwjblue merged commit 778f806 into emberjs:master Oct 28, 2014
@dgeb dgeb deleted the separate-test-helpers branch October 29, 2014 12:30
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