Run local dev dependency with npm bin

pull/288/head
Paul Cowgill 6 years ago committed by GitHub
parent a57b2f970a
commit 5adb48fd39
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