2.0.0 • Published 3 years ago

ember-cli-qunit-parameterize v2.0.0

Weekly downloads
609
License
MIT
Repository
github
Last release
3 years ago

ember-cli-qunit-parameterize

Build Status npm version GitHub version Dependency Status

This addon that adds qunit-parameterize to the generated Ember CLI output (in test-support.js).

Information

NPM

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

References