Skip to content

Commit

Permalink
Merge pull request #72 from jrjohnson/doc-coverage-command
Browse files Browse the repository at this point in the history
Document the use of the ember-cli --test-page option
  • Loading branch information
sglanzer committed Jul 15, 2015
2 parents 67b5586 + f0299a6 commit d27031a
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 d27031a

Please sign in to comment.