diff --git a/Documentation/Changelog.md b/Documentation/Changelog.md index b78c5a295..c8f325ab8 100644 --- a/Documentation/Changelog.md +++ b/Documentation/Changelog.md @@ -101,7 +101,7 @@ coverlet.collector 6.0.0 ### Breaking changes - New parameter `ExcludeAssembliesWithoutSources` to control automatic assembly exclusion [1164](https://github.com/coverlet-coverage/coverlet/issues/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. +- 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 behavior 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. ## Release date 2022-10-29 ### Packages diff --git a/Documentation/DriversFeatures.md b/Documentation/DriversFeatures.md index e48f9467a..9e4791878 100644 --- a/Documentation/DriversFeatures.md +++ b/Documentation/DriversFeatures.md @@ -2,7 +2,7 @@ All Coverlet drivers share the same coverage engine. Since version 3.0.0, we've consolidated versioning across drivers, so for every new release, all drivers will have the same version number. -We think that keeping the versions in sync better expresses the set of features every release will have. This does not mean that all drivers will support every functionality/feature or have the same behaviours, since they are limited by the context they're running in. +We think that keeping the versions in sync better expresses the set of features every release will have. This does not mean that all drivers will support every functionality/feature or have the same behaviors, since they are limited by the context they're running in. In the table below we keep track of main differences: diff --git a/Documentation/GlobalTool.md b/Documentation/GlobalTool.md index b8db7faa9..ab46f036c 100644 --- a/Documentation/GlobalTool.md +++ b/Documentation/GlobalTool.md @@ -176,7 +176,7 @@ You can specify the `--threshold-type` option multiple times. Valid values inclu coverlet --target --targetargs --threshold 80 --threshold-type line --threshold-type method ``` -By default, Coverlet will validate the threshold value against the coverage result of each module. The `--threshold-stat` option allows you to change this behaviour and can have any of the following values: +By default, Coverlet will validate the threshold value against the coverage result of each module. The `--threshold-stat` option allows you to change this behavior and can have any of the following values: * Minimum (Default): Ensures the coverage result of each module isn't less than the threshold * Total: Ensures the total combined coverage result of all modules isn't less than the threshold diff --git a/Documentation/KnownIssues.md b/Documentation/KnownIssues.md index c181e7ea3..d15bebd4a 100644 --- a/Documentation/KnownIssues.md +++ b/Documentation/KnownIssues.md @@ -155,7 +155,7 @@ or by adding the property `` to the project file NB. This **DOESN'T ALWAYS WORK**, for example in case of the shared framework -We can do nothing at the moment as this is a build behaviour out of our control. +We can do nothing at the moment as this is a build behavior out of our control. For .NET runtime version >= 3.0 the new default behavior is to copy all assets to the build output (CopyLocalLockFileAssemblies=true) , unfortunately the issue could still arise. diff --git a/Documentation/MSBuildIntegration.md b/Documentation/MSBuildIntegration.md index cddea54d1..05ba9fe76 100644 --- a/Documentation/MSBuildIntegration.md +++ b/Documentation/MSBuildIntegration.md @@ -120,7 +120,7 @@ You can do the same for `Threshold` as well. dotnet test /p:CollectCoverage=true /p:Threshold=\"80,100,70\" /p:ThresholdType=\"line,branch,method\" ``` -By default, Coverlet will validate the threshold value against the coverage result of each module. The `/p:ThresholdStat` option allows you to change this behaviour and can have any of the following values: +By default, Coverlet will validate the threshold value against the coverage result of each module. The `/p:ThresholdStat` option allows you to change this behavior and can have any of the following values: * Minimum (Default): Ensures the coverage result of each module isn't less than the threshold * Total: Ensures the total combined coverage result of all modules isn't less than the threshold