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
| testfiles |`--testfiles test/file.js`|JS test file(s) to run.|
49
+
| testfiles |`--testfiles "test/registry/*.ts"`|Test file(s) to run. (Globs must be enclosed by quotes.)|
50
50
| solcoverjs |`--solcoverjs ./../.solcover.js`| Relative path from working directory to config. Useful for monorepo packages that share settings. (Path must be "./" prefixed) |
51
51
| network |`--network development`| Use network settings defined in the Buidler config |
52
52
@@ -99,17 +99,17 @@ More documentation, including FAQ and information about solidity-coverage's API
| file |`--file="test/registry/*.js"`| (Truffle) Filename or glob describing a subset of JS tests to run. (Globs must be enclosed by quotes.)|
77
-
| testfiles |`--testfiles test/file.js`| (Buidler) JS test file(s) to run.|
80
+
| file |`--file="test/registry/*.js"`| (Truffle) Filename or glob describing a subset of tests to run. (Globs must be enclosed by quotes.)|
81
+
| testfiles |`--testfiles "test/registry/*.ts"`| (Buidler) Test file(s) to run. (Globs must be enclosed by quotes.)|
78
82
| solcoverjs |`--solcoverjs ./../.solcover.js`| Relative path from working directory to config. Useful for monorepo packages that share settings. (Path must be "./" prefixed) |
79
83
| network |`--network development`| Use network settings defined in the Truffle or Buidler config |
80
84
| temp[<sup>*</sup>][14]|`--temp build`|:warning:**Caution**:warning: Path to a *disposable* folder to store compilation artifacts in. Useful when your test setup scripts include hard-coded paths to a build directory. [More...][14]|
@@ -99,6 +103,8 @@ module.exports = {
99
103
| client |*Object*|`require("ganache-core")`| Useful if you need a specific ganache version. |
| skipFiles |*Array*|`['Migrations.sol']`| Array of contracts or folders (with paths expressed relative to the `contracts` directory) that should be skipped when doing instrumentation. |
106
+
| measureStatementCoverage |*boolean*|`true`| Computes statement (in addition to line) coverage. [More...][34]|
107
+
| measureFunctionCoverage |*boolean*|`true`| Computes function coverage. [More...][34]|
102
108
| istanbulFolder |*String*|`./coverage`| Folder location for Istanbul coverage reports. |
| mocha |*Object*|`{ }`|[Mocha options][3] to merge into existing mocha config. `grep` and `invert` are useful for skipping certain tests under coverage using tags in the test descriptions.|
0 commit comments