ember-cli-test-loader

3.1.0 • Public • Published

Ember CLI Test Loader

Defines a TestLoader object that reviews all of the modules in requirejs.entries and loads those identified as tests.

TestLoader.prototype.shouldLoadModule can be overridden in order to customize the criteria for identifying test modules.

Usage

Within tests/test-helper.js:

  import TestLoader from 'ember-cli-test-loader/test-support';

  // optionally override TestLoader.prototype.shouldLoadModule

  TestLoader.load();


Note: 1.0.0 will move to package.json from bower.json, but that is not enabled yet. The default ember-cli blueprint specifies 0.2.2 which should definitely not allow 1.0.0. - [Link]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.1.0
    67,795
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.1.0
    67,795
  • 3.0.0
    31,106
  • 2.2.0
    42,471
  • 2.1.0
    536
  • 2.0.0
    225
  • 1.1.1
    3,251
  • 1.1.0
    570

Package Sidebar

Install

npm i ember-cli-test-loader

Weekly Downloads

145,954

Version

3.1.0

License

MIT

Unpacked Size

10.5 kB

Total Files

8

Last publish

Collaborators

  • hjdivad
  • nathanhammond
  • kellyselden
  • rwjblue
  • katiegengler
  • turbo87
  • stefanpenner
  • nullvoxpopuli