We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b4118 commit 6872a35Copy full SHA for 6872a35
README.md
@@ -64,7 +64,19 @@ Supported Formats:
64
* opencover
65
* cobertura
66
67
-The output of the coverage result can also be specified using the `CoverletOutput` property.
+You can specify multiple output formats by separating them with a comma (`,`).
68
+
69
+The output of the coverage result can be specified using the `CoverletOutput` property.
70
71
+```bash
72
+dotnet test /p:CollectCoverage=true /p:CoverletOutput='./result.json'
73
+```
74
75
+To specify a directory where all results will be written to (especially if using multiple formats), end the value with a `/`.
76
77
78
+dotnet test /p:CollectCoverage=true /p:CoverletOutput='./results/'
79
80
81
### Threshold
82
0 commit comments