You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ Coverage distorts gas consumption. Tests that check exact gas consumption should be skipped.
25
-
+ Coverage launches its own in-process ganache server.
26
-
+ You can set [ganache options](https://github.com/trufflesuite/ganache-core#options) using the `providerOptions` key in your `.solcover.js` config.
25
+
+ Coverage launches its own in-process ganache server.
26
+
+ You can set [ganache options](https://github.com/trufflesuite/ganache-core#options) using the `providerOptions` key in your `.solcover.js` config.
| file |`--file="test/registry/*.js"`| Filename or glob describing a subset of JS tests to run. (Globs must be enclosed by quotes.)|
47
47
| solcoverjs |`--solcoverjs ./../.solcover.js`| Relative path from working directory to config. Useful for monorepo packages that share settings. (Path must be "./" prefixed) |
48
+
| network |`--network development`| Use network settings defined in the Truffle config |
48
49
| version || Version info |
49
50
| help || Usage notes |
50
51
@@ -71,6 +72,7 @@ module.exports = {
71
72
| mocha |*Object*|`{ }`|[Mocha options](https://mochajs.org/api/mocha) to merge into existing mocha config. `grep` and `invert` are useful for skipping certain tests under coverage using tags in the test descriptions.|
72
73
| onServerReady |*Function*|| Hook run *after* server is launched, *before* the tests execute. Useful if you need to use the Oraclize bridge or have setup scripts which rely on the server's availability |
73
74
| onTestsComplete |*Function*|| Hook run *after* the tests complete, *before* Istanbul reports are generated. |
75
+
| onCompileComplete |*Function*|| Hook run *after* compilation completes, *before* tests are run. Useful if you have secondary compilation steps or need to modify built artifacts. |
74
76
| onIstanbulComplete |*Function*|| Hook run *after* the Istanbul reports are generated, *before* the ganache server is shut down. Useful if you need to clean resources up. |
0 commit comments