UNPKG

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