Merge pull request #288 from pcowgill/patch-1

Mention option to run local dev dependency with npm bin
pull/306/head
c-g-e-w-e-k-e- 6 years ago committed by GitHub
commit 194b3365bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      README.md

@ -22,10 +22,19 @@ $ npm install --save-dev solidity-coverage
```
### Run
#### Option 1
```
$ ./node_modules/.bin/solidity-coverage
```
#### Option 2
```
$ $(npm bin)/solidity-coverage
```
Tests run significantly slower while coverage is being generated. Your contracts are double-compiled
and a 1 to 2 minute delay between the end of the second compilation and the beginning of test execution
is possible if your test suite is large. Large Solidity files can also take a while to instrument.

Loading…
Cancel
Save