Skip to content

Commit 194b336

Browse files
authored
Merge pull request #288 from pcowgill/patch-1
Mention option to run local dev dependency with npm bin
2 parents 62ab3e5 + 5adb48f commit 194b336

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,19 @@ $ npm install --save-dev solidity-coverage
2222
```
2323

2424
### Run
25+
26+
#### Option 1
27+
2528
```
2629
$ ./node_modules/.bin/solidity-coverage
2730
```
2831

32+
#### Option 2
33+
34+
```
35+
$ $(npm bin)/solidity-coverage
36+
```
37+
2938
Tests run significantly slower while coverage is being generated. Your contracts are double-compiled
3039
and a 1 to 2 minute delay between the end of the second compilation and the beginning of test execution
3140
is possible if your test suite is large. Large Solidity files can also take a while to instrument.

0 commit comments

Comments
 (0)