Skip to content

Commit 589e210

Browse files
Update "mergewith" doc (#568)
Update "mergewith" doc
1 parent 213b927 commit 589e210

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Documentation/GlobalTool.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Options:
3838
--use-source-link Specifies whether to use SourceLink URIs in place of file system paths.
3939
```
4040
41+
For `--merge-with` [check the sample](Examples.md).
42+
4143
## Code Coverage
4244
4345
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.

Documentation/MSBuildIntegration.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ With Coverlet you can combine the output of multiple coverage runs into a single
7474
dotnet test /p:CollectCoverage=true /p:MergeWith='/path/to/result.json'
7575
```
7676

77-
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.
77+
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.
78+
[Check the sample](Examples.md).
7879

7980
## Threshold
8081

Documentation/VSTestIntegration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ These are a list of options that are supported by coverlet. These can be specifi
3030
| Option | Summary |
3131
|------------- |------------------------------------------------------------------------------------------|
3232
|Format | Coverage output format. These are either cobertura, json, lcov, opencover or teamcity as well as combinations of these formats. |
33-
|MergeWith | Combine the output of multiple coverage runs into a single result. |
33+
|MergeWith | Combine the output of multiple coverage runs into a single result([check the sample](Examples.md)). |
3434
|Exclude | Exclude from code coverage analysing using filter expressions. |
3535
|ExcludeByFile | Ignore specific source files from code coverage. |
3636
|Include | Explicitly set what to include in code coverage analysis using filter expressions. |

0 commit comments

Comments
 (0)