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
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,8 @@ A working example can be found at [openzeppelin-contracts, here.][35]
58
58
| solcoverjs |`--solcoverjs ./../.solcover.js`| Relative path from working directory to config. Useful for monorepo packages that share settings. (Path must be "./" prefixed) |
59
59
| network |`--network development`| Use network settings defined in the Hardhat config |
60
60
| 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]|
61
+
| matrix | `--matrix` | Generate a JSON object that maps which mocha tests hit which lines of code. (Useful
62
+
as an input for some fuzzing, mutation testing and fault-localization algorithms.) [More...][39]|
61
63
62
64
[<sup>*</sup> Advanced use][14]
63
65
@@ -82,6 +84,7 @@ module.exports = {
82
84
| measureStatementCoverage |*boolean*|`true`| Computes statement (in addition to line) coverage. [More...][34]|
83
85
| measureFunctionCoverage |*boolean*|`true`| Computes function coverage. [More...][34]|
84
86
| measureModifierCoverage |*boolean*|`true`| Computes each modifier invocation as a code branch. [More...][34]|
87
+
| matrixOutputPath |*String*|`./testMatrix.json`| Relative path to write test matrix JSON object to. [More...][39]|
85
88
| 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