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

Package detail

ember-cli-mocha

ember-cli5.3kApache-2.0deprecated0.15.0

Use ember-mocha instead.

Mocha and Chai tests for ember-cli applications

chai, ember, ember-addon, mocha

readme

ember-cli-mocha

Build Status npm version Ember Observer Score

Mocha / Chai testing for your Ember CLI apps.

Installation

Install ember-cli-mocha:

ember install ember-cli-mocha

Usage

Tests rely on ember-mocha modules and helpers. Please refer to that project to understand detailed usage.

Compatibility

  • ember-cli-mocha v0.14.0 requires at least Ember CLI v2.2.0 and Node.js 4
  • Ember CLI v2.13+ requires at least ember-cli-mocha v0.13.3
  • Ember CLI v2.12+ requires at least ember-cli-mocha v0.13.2

Blueprints

Previous releases of this addon contained the blueprints necessary to generate Mocha tests for your apps and addons. These blueprints have since been moved into ember.js, ember-data and ember-cli-legacy-blueprints.

Recent releases of Ember CLI contain ember-cli-legacy-blueprints by default. If you are using an older release then please add the ember-cli-legacy-blueprints dependency manually to your project.

Copyright 2014 Switchfly

This product includes software developed at Switchfly (http://www.switchfly.com).

NOTICE: Only our own original work is licensed under the terms of the Apache License Version 2.0. The licenses of some libraries might impose different redistribution or general licensing terms than those stated in the Apache License. Users and redistributors are hereby requested to verify these conditions and agree upon them.

changelog

Changelog

v0.15.0 (2018-02-03)

:rocket: Enhancement

Committers: 1

v0.15.0-beta.1 (2017-12-22)

:rocket: Enhancement

  • #229 Remove functionality and defer to ember-mocha API. (@Turbo87)
  • #235 Update ember-mocha to v0.13.0-beta.3. (@Turbo87)

Committers: 1

v0.14.5 (2018-02-03)

:bug: Bug Fix

:memo: Documentation

  • #230 Use lerna-changelog to generate friendly changelog. (@Turbo87)

:house: Internal

Committers: 2

v0.14.4 (2017-05-27)

:rocket: Enhancement

Committers: 1

v0.14.3 (2017-05-07)

:bug: Bug Fix

Committers: 1

v0.14.1 (2017-05-03)

:rocket: Enhancement

:bug: Bug Fix

Committers: 2

v0.14.0 (2017-04-28)

:boom: Breaking Change

:rocket: Enhancement

Committers: 1

v0.13.3 (2017-04-22)

:bug: Bug Fix

  • #190 Prevent clobbering custom this.options.babel. (@rwjblue)

:memo: Documentation

Committers: 2

v0.13.2 (2017-01-29)

:rocket: Enhancement

:house: Internal

  • #163 CI: Switch NPM deploy user to "ember-cli". (@Turbo87)

Committers: 2

v0.13.1 (2016-12-09)

:rocket: Enhancement

  • #158 Use "ember-mocha-adapter" from "ember-mocha" NPM package. (@Turbo87)
  • #156 blueprints: Update auto-installed "ember-cli-chai" to v0.3.0. (@Turbo87)
  • #152 Replace JSHint with ESLint. (@Turbo87)

:bug: Bug Fix

:house: Internal

Committers: 1

v0.12.1 (2016-11-27)

:rocket: Enhancement

  • #145 CI: Publish tags to NPM. (@Turbo87)
  • #144 Add "ember-cli-chai" to project instead of making it a dependency. (@Turbo87)
  • #143 Split "chai" code into "ember-cli-chai" addon. (@Turbo87)

:bug: Bug Fix

Committers: 1

v0.12.0 (2016-11-23)

:rocket: Enhancement

:bug: Bug Fix

:house: Internal

Committers: 2

v0.11.0 (2016-11-10)

:boom: Breaking Change

:rocket: Enhancement

:memo: Documentation

:house: Internal

Committers: 6

v0.10.4 (2016-06-15)

:bug: Bug Fix

Committers: 1

v0.10.3 (2016-06-15)

:rocket: Enhancement

Committers: 2

v0.10.2 (2016-04-14)

:rocket: Enhancement

  • #106 TestGenerator: Remove "expected false to be truthy" message. (@Turbo87)

Committers: 1

v0.10.1 (2016-03-05)

:rocket: Enhancement

:bug: Bug Fix

  • #101 blueprints: Fix typo in afterInstall() method. (@Turbo87)

:memo: Documentation

Committers: 3

v0.10.0 (2016-02-01)

:rocket: Enhancement

Committers: 1

v0.9.8 (2015-12-11)

:rocket: Enhancement

Committers: 1

v0.9.7 (2015-11-10)

:rocket: Enhancement

  • #89 Protect against NPE in linting config.. (@blimmer)

Committers: 1

v0.9.6 (2015-11-10)

:rocket: Enhancement

Committers: 1

v0.9.5 (2015-11-09)

:rocket: Enhancement

  • #82 Utilize new destroy-app.js when present.. (@blimmer)

Committers: 1

v0.9.4 (2015-11-08)

:rocket: Enhancement

Committers: 2

v0.9.3 (2015-09-10)

:rocket: Enhancement

Committers: 2

v0.9.2 (2015-08-05)

:bug: Bug Fix

Committers: 1

v0.9.1 (2015-07-13)

:bug: Bug Fix

  • #65 Fix compatibility with Ember CLI 0.2.7. (@blimmer)

Committers: 1

v0.9.0 (2015-07-09)

:rocket: Enhancement

  • #64 Generate a component integration test by default.. (@blimmer)

Committers: 1

v0.8.0 (2015-06-19)

:rocket: Enhancement

:bug: Bug Fix

Committers: 5

v0.6.1 (2015-05-13)

:rocket: Enhancement

  • #48 TestCommand.availableOptions invert support. (@blimmer)

Committers: 1

v0.6.0 (2015-04-04)

:bug: Bug Fix

  • #43 Fix testing root element styles not working. (@Soliah)

Committers: 1

v0.5.0 (2015-02-22)

:rocket: Enhancement

Committers: 1

  • Dan Gebhardt (dgeb)

v0.4.2 (2015-02-16)

:bug: Bug Fix

  • #36 Removed lint-friendly assertion from jshint test generator. (@slindberg)

Committers: 1

v0.4.1 (2015-02-16)

:rocket: Enhancement

  • #40 Support ember-cli-test-loader to check for test inclusion issues, fixes .... (@jonathanKingston)

Committers: 1

v0.4.0 (2015-02-01)

:bug: Bug Fix

  • #33 Restore ability to filter tests on command line. (@backspace)

Committers: 1

v0.3.1 (2015-01-28)

:rocket: Enhancement

  • #29 Updates to match ember-cli-qunit 0.2.0 and 0.3.0 changes.. (@rwjblue)
  • #28 Incorporate pod support for test blueprints. (@DanielOchoa)
  • #26 Add jshinting support. (@ef4)

:bug: Bug Fix

  • #30 Use .jshintrc for the type being linted.. (@rwjblue)

Committers: 3

v0.3.0 (2015-01-25)

:rocket: Enhancement

  • #24 Update to latest ember-cli-test-loader.. (@rwjblue)

:bug: Bug Fix

Committers: 2

v0.2.1 (2014-12-22)

:rocket: Enhancement

  • #18 Allow ember test --filter to perform mocha grep.. (@rwjblue)

Committers: 1

v0.2.0 (2014-12-06)

:rocket: Enhancement

:memo: Documentation

  • #11 Describe resolution of mocha/chai conflicts. (@clekstro)

Committers: 2