Update "mergewith" doc (#568)

Update "mergewith" doc
This commit is contained in:
Marco Rossignoli
2019-09-26 10:12:42 +02:00
committed by GitHub
parent 213b927ac7
commit 589e210e74
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -38,6 +38,8 @@ Options:
--use-source-link Specifies whether to use SourceLink URIs in place of file system paths.
```
For `--merge-with` [check the sample](Examples.md).
## Code Coverage
The `coverlet` tool is invoked by specifying the path to the assembly that contains the unit tests. You also need to specify the test runner and the arguments to pass to the test runner using the `--target` and `--targetargs` options respectively. The invocation of the test runner with the supplied arguments **must not** involve a recompilation of the unit test assembly or no coverage data will be generated.
+2 -1
View File
@@ -74,7 +74,8 @@ With Coverlet you can combine the output of multiple coverage runs into a single
dotnet test /p:CollectCoverage=true /p:MergeWith='/path/to/result.json'
```
The value given to `/p:MergeWith` **must** be a path to Coverlet's own json result format. The results in `result.json` will be read, and added to the new results written to by Coverlet.
The value given to `/p:MergeWith` **must** be a path to Coverlet's own json result format. The results in `result.json` will be read, and added to the new results written to by Coverlet.
[Check the sample](Examples.md).
## Threshold
+1 -1
View File
@@ -30,7 +30,7 @@ These are a list of options that are supported by coverlet. These can be specifi
| Option | Summary |
|------------- |------------------------------------------------------------------------------------------|
|Format | Coverage output format. These are either cobertura, json, lcov, opencover or teamcity as well as combinations of these formats. |
|MergeWith | Combine the output of multiple coverage runs into a single result. |
|MergeWith | Combine the output of multiple coverage runs into a single result([check the sample](Examples.md)). |
|Exclude | Exclude from code coverage analysing using filter expressions. |
|ExcludeByFile | Ignore specific source files from code coverage. |
|Include | Explicitly set what to include in code coverage analysis using filter expressions. |