Merge branch 'truffle-plugin' of https://github.com/sc-forks/solidity-coverage into truffle-plugin

pull/413/head
cgewecke 5 years ago
commit 7f9f872621
  1. 5
      README.md
  2. 2
      scripts/run-zeppelin.sh

@ -17,12 +17,13 @@ find discrepancies between the coverage report and your suite's behavior, please
### Install ### Install
``` ```
$ npm install --save-dev solidity-coverage $ npm install --save-dev solidity-coverage@beta
``` ```
### Usage notes: ### Usage notes:
+ Coverage runs tests a little more slowly. + Coverage runs tests a little more slowly.
+ Coverage distorts gas consumption. Tests that check exact gas consumption should be skipped. + Coverage distorts gas consumption. Tests that check exact gas consumption should be skipped.
+ Coverage launches its own in-process ganache server. [ganache options](https://github.com/trufflesuite/ganache-core#options) via the `providerOptions` key in your `.solcover.js` config file. + Coverage launches its own in-process ganache server.
+ You can set [ganache options](https://github.com/trufflesuite/ganache-core#options) using the `providerOptions` key in your `.solcover.js` config.
### Truffle V5 ### Truffle V5

@ -42,4 +42,4 @@ echo ">>>>> yarn add -dev $PR_PATH"
yarn add "$PR_PATH" --dev yarn add "$PR_PATH" --dev
# Track perf # Track perf
time npx truffle run coverage time npx truffle run coverage --network development

Loading…
Cancel
Save