Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion coverlet-coverage/coverlet#1164. The parameter InstrumentModulesWithoutLocalSources has been removed. since it can be handled by setting ExcludeAssembliesWithoutSources to None.
The default heuristics for determining whether to instrument an assembly has been changed. In previous versions any missing source file was taken as a signal that it was a third-party project that shouldn't be instrumented, with exceptions for some common file name patterns for source generators. Now only assemblies where no source files at all can be found are excluded from instrumentation, and the code for detecting source generator files have been removed. To get back to the behaviour that at least one missing file is sufficient to exclude an assembly, set ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion filters for more fine-grained control.
-Fix TypeLoadException when referencing Microsoft.Extensions.DependencyInjection v6.0.1 #1390
-Source Link for code generators fails #1322
-Await foreach has wrong branch coverage when method is generic #1210
-ExcludeFromCodeCoverage attribute on local functions ignores lambda expression #1302
Added
-Added InstrumentModulesWithoutLocalSources setting #1360 by @TFTomSun
Fixed
-Fix wrong branch coverage with EnumeratorCancellation attribute #1275 -Fix negative coverage exceeding int.MaxValue #1266
-Fix summary output format for culture de-DE #1263
-Fix branch coverage issue for finally block with await #1233
-Fix threshold doesn't work when coverage empty #1205
-Fix branch coverage issue for il switch #1177
-Fix branch coverage with using statement and several awaits#1176
-Fix CopyCoverletDataCollectorFiles to avoid to override user dlls for dotnet publish scenario #1243
Improvements
-Improve logging in case of exception inside static ctor of NetstandardAwareAssemblyResolver #1230
-When collecting open the hitfile with read access #1214 by https://github.com/JamesWTruher
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps coverlet.collector from 3.2.0 to 6.0.0.
Release notes
Sourced from coverlet.collector's releases.
... (truncated)
Commits
6427ae3
Rebrand for next version 6.0.1 (#1478)b288808
Prepare release 6.0.0 (#1477)4e58654
Bump Mono.Cecil (#1476)98b84d2
migration to .net 6.0 (#1473)d936138
Fixes CoverletSourceRootsMapping issue (#1456)3bbe502
Update collector docs with info about passing format without runsettings file...a014bf0
Path is empty for VB My namespace (#1073)1ff097d
Wrong branch coverage for async methods .NET Standard 1.x (#1433)04b82c2
Incorrect coverage for methods returning IAsyncEnumerable in generic classes ...72d5ee2
Large CC XML error (#1428)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)