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: Documentation/DeterministicBuild.md
+17
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,23 @@ As explained above, to improve the level of security of generated artifacts (for
10
10
11
11
Finally, thanks to deterministic CI builds (with the `ContinuousIntegrationBuild` property set to `true`) plus signature we can validate artifacts and be sure that the binary was built from specific sources (because there is no hard-coded variable metadata, like paths from different build machines).
12
12
13
+
# Deterministic report
14
+
15
+
Coverlet supports also deterministic reports(for now only for cobertura coverage format).
16
+
If you include `DeterministicReport` parameters for `msbuild` and `collectors` integrations resulting report will be like:
Copy file name to clipboardExpand all lines: Documentation/MSBuildIntegration.md
+8
Original file line number
Diff line number
Diff line change
@@ -206,3 +206,11 @@ The workaround is to use the .NET Core `dotnet msbuild` command instead of using
206
206
## SourceLink
207
207
208
208
Coverlet supports [SourceLink](https://github.com/dotnet/sourcelink) custom debug information contained in PDBs. When you specify the `/p:UseSourceLink=true` property, Coverlet will generate results that contain the URL to the source files in your source control instead of local file paths.
209
+
210
+
## Deterministic build
211
+
212
+
Take a look at [documentation](Documentation/DeterministicBuild.md) for further informations.
| Format | Coverage output format. These are either cobertura, json, lcov, opencover or teamcity as well as combinations of these formats. |
91
+
| Exclude | Exclude from code coverage analysing using filter expressions. |
92
+
| ExcludeByFile | Ignore specific source files from code coverage. |
93
+
| Include | Explicitly set what to include in code coverage analysis using filter expressions. |
94
+
| IncludeDirectory | Explicitly set which directories to include in code coverage analysis. |
95
+
| SingleHit | Specifies whether to limit code coverage hit reporting to a single hit for each location. |
96
+
| UseSourceLink | Specifies whether to use SourceLink URIs in place of file system paths. |
97
+
| IncludeTestAssembly | Include coverage of the test assembly. |
98
+
| SkipAutoProps | Neither track nor record auto-implemented properties. |
99
+
| DoesNotReturnAttribute | Methods marked with these attributes are known not to return, statements following them will be excluded from coverage |
100
+
| DeterministicReport | Generates deterministic report in context of deterministic build. Take a look at [documentation](Documentation/DeterministicBuild.md) for further informations. |
100
101
101
102
How to specify these options via runsettings?
102
103
@@ -117,6 +118,7 @@ How to specify these options via runsettings?
0 commit comments