From f0299a683079cb70237bbb4c34658e1f1517a9de Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Mon, 6 Jul 2015 19:29:24 -0700 Subject: [PATCH] Document the use of the ember-cli --test-page option --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b1ecfc..3aba4d1 100644 --- a/README.md +++ b/README.md @@ -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 {