https://github.com/bbvaengineering/ember-cli-qunit-parameterize
Ember CLI QUnit Parameterize integration for testing.
https://github.com/bbvaengineering/ember-cli-qunit-parameterize
Last synced: about 1 year ago
JSON representation
Ember CLI QUnit Parameterize integration for testing.
- Host: GitHub
- URL: https://github.com/bbvaengineering/ember-cli-qunit-parameterize
- Owner: BBVAEngineering
- License: mit
- Created: 2017-05-25T09:49:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-18T13:09:42.000Z (about 3 years ago)
- Last Synced: 2025-04-09T06:48:09.497Z (about 1 year ago)
- Language: JavaScript
- Size: 1.4 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-cli-qunit-parameterize
[](https://travis-ci.org/BBVAEngineering/ember-cli-qunit-parameterize)
[](https://badge.fury.io/js/ember-cli-qunit-parameterize)
[](https://badge.fury.io/gh/BBVAEngineering%2Fember-cli-qunit-parameterize)
[](https://david-dm.org/BBVAEngineering/ember-cli-qunit-parameterize)
This addon that adds `qunit-parameterize` to the generated Ember CLI output (in `test-support.js`).
## Information
[](https://www.npmjs.com/package/ember-cli-qunit-parameterize)
## Installation / Usage
From within your Ember CLI application (must be > 0.0.34), run the following:
```bash
ember install ember-cli-qunit-parameterize
```
Then in your test file, use as follows:
```js
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](https://github.com/BBVAEngineering/javascript/tree/master/eslint-config-bbva) rules and make test for the new functionalities/fixes.
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/BBVAEngineering/ember-cli-qunit-parameterize/tags).
## Authors
See the list of [contributors](https://github.com/BBVAEngineering/ember-cli-qunit-parameterize/graphs/contributors) who participated in this project.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## References
- [qunit-parameterize](https://github.com/AStepaniuk/qunit-parameterize)