1 | # ember-cli-mocha
|
2 |
|
3 | Mocha / Chai testing for your Ember CLI apps.
|
4 |
|
5 | ## Installation
|
6 |
|
7 | Remove QUnit from your ember-cli app:
|
8 |
|
9 | ```sh
|
10 | npm rm ember-cli-qunit --save-dev
|
11 | ```
|
12 |
|
13 | Install ember-cli-mocha:
|
14 |
|
15 | ```sh
|
16 | npm install ember-cli-mocha --save-dev
|
17 | ember generate ember-cli-mocha
|
18 | ```
|
19 |
|
20 | ## Usage
|
21 |
|
22 | ember-cli-mocha overrides all of ember-cli's testing blueprints. Simply generate
|
23 | models, controllers, components, etc. in order to generate the corresponding Mocha
|
24 | / Chai tests.
|
25 |
|
26 | Tests rely on [ember-mocha](https://github.com/switchfly/ember-mocha) modules
|
27 | and helpers. Please refer to that project to understand detailed usage.
|
28 |
|
29 | ## Copyright and License
|
30 |
|
31 | Copyright 2014 Switchfly
|
32 |
|
33 | This product includes software developed at
|
34 | Switchfly (http://www.switchfly.com).
|
35 |
|
36 | NOTICE: Only our own original work is licensed under the terms of the Apache
|
37 | License Version 2.0. The licenses of some libraries might impose different
|
38 | redistribution or general licensing terms than those stated in the Apache
|
39 | License. Users and redistributors are hereby requested to verify these
|
40 | conditions and agree upon them.
|