Skip to content

Commit

Permalink
Document the use of the ember-cli --test-page option
Browse files Browse the repository at this point in the history
  • Loading branch information
jrjohnson committed Jul 7, 2015
1 parent e0de2c4 commit f0299a6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,15 @@ var options = {

Only a single reporter is supported currently.

Append ```?coverage``` to the HTML report URL to enable coverage. This option will enable the creation of the coverage data file when running within a continuous integration context. This value can be specified within the testem.json:
Append ```?coverage``` to the HTML report URL to enable coverage. This option will enable the creation of the coverage data file when running within a continuous integration context.

You can add this as part of the ```ember test``` command for a single run:

```bash
ember test --test-page='tests/index.html?coverage'
```

or it can be specified within testem.json for use everytime you test:

```js
{
Expand Down

0 comments on commit f0299a6

Please sign in to comment.