livepeer / protocol

Livepeer protocol
MIT License
154 stars 45 forks source link

Fix Solidity unit test runner #386

Closed yondonfu closed 4 years ago

yondonfu commented 4 years ago

This PR contains a few updates that make running tests locally easier/a bit faster and also fixes an issue with the Solidity unit test runner.

fd7e690: Fix a check in test.sh that was preventing the script from starting ganache in the background ab02f7d: Skip migrations when running contract unit tests because unit tests will handle contract deployment/initialization. Migrations will still be run for contract integration tests. c4a40d3: Fix the Solidity unit test runner (we use a JS helper from another project to run unit tests written in Solidity due to some quirks with the coverage reporting tool). Previously, failed assertions were not being reported by the test runner.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 6200c615-24d1-4700-8ebf-34b65efd8438


Totals Coverage Status
Change from base Build 9a793c33-d36a-47a2-b9a4-a95996247cfa: 0.0%
Covered Lines: 711
Relevant Lines: 711

💛 - Coveralls