From c66eb47f8dad71340d9b25038e2bc2181ea67f10 Mon Sep 17 00:00:00 2001 From: cgewecke Date: Wed, 25 Sep 2019 03:09:07 -0700 Subject: [PATCH 1/3] Link to beta in README --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48a7e04..4e42997 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,19 @@ find discrepancies between the coverage report and your suite's behavior, please [issue](https://github.com/sc-forks/solidity-coverage/issues). + `solidity-coverage` is [Solcover](https://github.com/JoinColony/solcover) -### Install +### A new (beta) version of solidity-coverage is out (0.7.x) + + Installs as a plugin + + Uses any ganache + + Just works. (Read the [instructions](https://github.com/sc-forks/solidity-coverage/tree/beta#solidity-coverage)) + + [0.7.0-beta release notes](https://github.com/sc-forks/solidity-coverage/releases/tag/v0.7.0-beta.2) + + [0.6.x to 0.7.x upgrade guide](https://github.com/sc-forks/solidity-coverage/blob/beta/docs/upgrade.md#upgrading-from-06x-to-070-betax). + +### Install 0.6.x ``` $ npm install --save-dev solidity-coverage ``` -### Run +### Run 0.6.x Set a `coverage` network in truffle-config.js (see [Network Configuration](#network-configuration)) and then run: ``` $ npx solidity-coverage From 8d9a09ad6f4e28c9f0724474fbe53219d4d2a13a Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Mon, 7 Oct 2019 18:29:05 -0300 Subject: [PATCH 2/3] change openzeppelin coverage report link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e42997..3d55c1a 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ Solutions to common problems people run into: ### Example reports + [metacoin](https://sc-forks.github.io/metacoin/) (Istanbul HTML) -+ [openzeppelin-solidity](https://coveralls.io/github/OpenZeppelin/openzeppelin-solidity?branch=master) (Coveralls) ++ [OpenZeppelin Contracts](https://codecov.io/gh/OpenZeppelin/openzeppelin-contracts) (Codecov) ### Contribution Guidelines From 25fd077a27d7283956b8001e709ac0981b654122 Mon Sep 17 00:00:00 2001 From: cgewecke Date: Thu, 28 Nov 2019 19:22:46 -0800 Subject: [PATCH 3/3] Update script seds for oz framework (#446) --- scripts/run-zeppelin.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/run-zeppelin.sh b/scripts/run-zeppelin.sh index be8883f..ec71d75 100755 --- a/scripts/run-zeppelin.sh +++ b/scripts/run-zeppelin.sh @@ -26,8 +26,7 @@ cd openzeppelin-solidity sed -i 's/if/# /g' scripts/coverage.sh sed -i 's/curl/# /g' scripts/coverage.sh sed -i 's/fi/# /g' scripts/coverage.sh -sed -i 's/ganache-cli-coverage/testrpc-sc/g' scripts/test.sh -sed -i 's/--emitFreeLogs true/ /g' scripts/test.sh +sed -i 's/npx oz compile/npx oz compile --no-interactive/g' scripts/compile.sh # Swap installed coverage for PR branch version echo ">>>>> npm install"