-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-enable solidity-coverage #575
Comments
Undo this commit when solidity-coverage is compatible with solc 0.4.18 |
@ajsantander Hi. Latest solidity-coverage ( Unfortunately there are some caveats if you decide to re-enable: Additionally, the module.exports = {
norpc: true,
testCommand: 'node --max-old-space-size=4096 ../node_modules/.bin/truffle test --network coverage',
compileCommand: 'node --max-old-space-size=4096 ../node_modules/.bin/truffle compile --network coverage',
skipFiles: [
'lifecycle/Migrations.sol',
'helpers' // <-- This is a folder containing the mocks (any name is fine).
]
} Very sorry that these changes are necessary. If you or anyone else would like to discuss this further - we have a gitter channel now. Happy to make improvements if possible. Thanks again for your help @spalladino @frangio :) |
Working on this on https://github.com/spalladino/zeppelin-solidity/tree/feature/reenable-coverage. I fixed the paths issue by symlinking the mocks folder. However, there are a handful of tests failing. I'll look into it and send a PR as soon as I've fixed it. |
See PR #573 (Update to truffle 4.0.0 and solc 0.4.18)
solidity-coverage is not compatible with the latest solc versions without forcing tests to use .call(), so we had to disable it on travis.
We should re-enable coverage tests after the issue is resolved in solidity-coverage. Will post commit that should be reverted to re-enable coverage.
The text was updated successfully, but these errors were encountered: