Skip to content

Consolidate drivers version to 3.0.0 #971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Documentation/DriversFeatures.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Driver feature differences

Since the beginning all coverlet drivers shared the same coverage engine.
Since version 3.0.0 we decided to consolidate versioning across drivers so for every new release all drivers will have the same version number.
We think that keeping the versions in sync express better 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.
In the table below we keep track of main differences:

| Feature | MsBuild | .NET Tool | DataCollectors |
|----------|:-------------:|-------------:|----------------:|
| .NET Core support(>= 2.0) | Yes | Yes |Yes |
| .NET Framework support(>= 4.6.1) | Yes | Yes |Yes(since 3.0.0) |
| Show result on console | Yes | Yes | No |
| Deterministic reports output folder | Yes | Yes |No |
| Merge reports | Yes | Yes |No |
| Coverage threshold validation | Yes | Yes |No |


If possible we advice you to use the collectors integration (vstest engine integration), since it is fully integrated inside the test pipeline and does not suffer of the [known issues](KnownIssues.md) of the other drivers.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Coverlet is a cross platform code coverage framework for .NET, with support for
# Main contents
* [QuickStart](#Quick-Start)
* [How It Works](#How-It-Works)
* [Drivers features differences](Documentation/DriversFeatures.md)
* [Deterministic build support](#Deterministic-build-support)
* [Known Issues](#Known-Issues)
* [Consume nightly build](#Consume-nightly-build)
Expand Down
10 changes: 0 additions & 10 deletions src/coverlet.console/version.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/coverlet.core/coverlet.core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyVersion>5.4.0</AssemblyVersion>
<AssemblyVersion>5.5.0</AssemblyVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
10 changes: 0 additions & 10 deletions src/coverlet.msbuild.tasks/version.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/coverlet.collector/version.json → version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.3.1-preview.{height}",
"version": "3.0.0-preview.{height}",
"publicReleaseRefSpec": [
"^refs/heads/master$"
],
Expand Down