Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ember-cli-test-loader

ember-cli600.6kMIT3.1.0TypeScript support: included

Test loader for Ember CLI projects.

ember-addon

readme

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]

changelog

Changelog

v3.0.0 (2019-12-16)

:boom: Breaking Change

:memo: Documentation

Committers: 1

v2.1.0 (2017-04-06)

:house: Internal

Committers: 1

v2.0.0 (2017-03-25)

:rocket: Enhancement

:memo: Documentation

Committers: 3

v1.1.1 (2016-12-16)

:bug: Bug Fix

Committers: 1

v1.1.0 (2016-03-27)

:rocket: Enhancement

Committers: 1

v1.0.0 (2016-01-21)

:rocket: Enhancement

Committers: 1

v0.2.2 (2015-11-20)

:rocket: Enhancement

  • #17 Add ability to tweak module loading order.. (@rwjblue)

:memo: Documentation

Committers: 2

v0.2.1 (2015-09-11)

:rocket: Enhancement

  • #14 Allow additional matchers to be added without monkey patching prototype.. (@rwjblue)

Committers: 1

v0.2.0 (2015-08-04)

:bug: Bug Fix

  • #10 Exclude the project name when requiring files. (@marcioj)

Committers: 1

v0.1.2 (2015-02-15)

:rocket: Enhancement

  • #8 Allow handling module loading failure externally.. (@rwjblue)

Committers: 1

v0.1.1 (2015-02-10)

:rocket: Enhancement

  • #7 Handle modules with load/parse errors.. (@rwjblue)

Committers: 1

v0.1.0 (2015-01-25)

:rocket: Enhancement

  • #4 Create TestLoader that's test-framework-agnostic. (@dgeb)

Committers: 1

  • Dan Gebhardt (dgeb)