A minimal example of code coverage using solidity-coverage, with a custom web3.js 1.0 script (instead of truffle test
) for testing.
git clone https://github.com/0age/minimal-solidity-coverage-test
cd minimal-solidity-coverage-test
yarn install
yarn test