ember-cli-qunit-parameterize
v2.0.0
Published
Include qunit-parameterize into an ember-cli application for testing.
Downloads
607
Readme
ember-cli-qunit-parameterize
This addon that adds qunit-parameterize
to the generated Ember CLI output (in test-support.js
).
Information
Installation / Usage
From within your Ember CLI application (must be > 0.0.34), run the following:
ember install ember-cli-qunit-parameterize
Then in your test file, use as follows:
import cases from 'qunit-parameterize';
cases([
a: 1,
b: 2
]).test('foo title', (params, assert) => {
assert.equal(params.a, 1);
assert.equal(params.b, 2);
});
Contributing
We're thankful to the community for contributing any improvements.
Do not forget to follow our eslint rules and make test for the new functionalities/fixes.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
See the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details