Skip to content

Commit

Permalink
Minor cleanups to coverage info
Browse files Browse the repository at this point in the history
Added missing "-g" option needed to install istanbul with rpm.  Plus fixed some minor typos
  • Loading branch information
ronen committed Feb 4, 2013
1 parent 689dc48 commit ec032b4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,14 +493,14 @@ Guard::Jasmine supports coverage reports generated by [Istanbul](https://github.
have `istanbul` in your path in order to make this feature work. You can install it with NPM

```ruby
$ npm install istanbul
$ npm install -g istanbul
```

You also need to explicit enable the coverage support in the options:

```ruby
:coverage => :true # Enable/disable JavaScript coverage support
# default: :false
:coverage => true # Enable/disable JavaScript coverage support
# default: false
```

### Instrumentation
Expand Down Expand Up @@ -546,11 +546,11 @@ Guard::Jasmine always shows the Istanbul text report after a spec run that conta
can also enable two more reports:

```ruby
:coverage_html => :true # Enable Istanbul HTML coverage report
# default: :false
:coverage_html => true # Enable Istanbul HTML coverage report
# default: false

:coverage_summary => :true # Enable Istanbul summary coverage report
# default: :false
:coverage_summary => true # Enable Istanbul summary coverage report
# default: false
```

The `:coverage_summary` options disables the detailed file based coverage report by a small summary coverage report.
Expand Down

0 comments on commit ec032b4

Please sign in to comment.