Remora.Tests.Sdk 3.0.2

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
<Sdk Name="Remora.Tests.Sdk" Version="3.0.2" />
For projects that support Sdk, copy this XML node into the project file to reference the package.

Remora.Tests.Sdk

This SDK provides extended configuration based on Remora.Sdk for unit test projects. In particular, the SDK utilizes xUnit and coverlet to provide a unit test framework and code coverage.

All features and functionality exposed by Remora.Sdk is available in Remora.Tests.Sdk. The functionality described in this document is additive.

Usage

The SDK is made available via NuGet, and usage is as simple as using it in place of the standard .NET SDK. You must also define, at a minimum, the legal author of the software and the email at which they can be contacted.

This does not have to be an individual, and can just as easily be an organizational entity.

Failure to define these properties will result in a compilation error.

<Project Sdk="Remora.Tests.Sdk/1.0.0">
    <PropertyGroup>
        <LegalAuthor>John Doe</LegalAuthor>
        <LegalEmail>john@doe.org</LegalEmail>
    </PropertyGroup>
</Project>

Feature Breakdown

The following sections dive into each feature category that the SDK handles. Generally, the SDK defines or implements features within each category in an overridable or non-overridable way; non-overridable features are defined after user definitions, and overwrite any value you set.

Properties marked with an asterisk (*) are defined by Remora.Tests.Sdk and are not part of the standard set of properties exposed by MSBuild or Microsoft.NET.Sdk.

Framework Targets

The following properties are defined by the SDK.

Property Value Overridable
LibraryFrameworks* $(ExecutableFrameworks) Yes

NuGet Package Generation

The following properties are defined by the SDK.

Property Value Overridable
IsPackable false No

Unit Testing

The following packages are added by the SDK.

Package Purpose
Microsoft.NET.Test.Sdk Enables integration with .NET tooling
xunit Test framework
xunit.runner.visualstudio Enables IDE-integrated test runs
xunit.runner.console Enables console-initiated test runs
coverlet.collector Enables code coverage collection

Code Analysis

The following packages are added by the SDK.

Package Purpose
xunit.analyzers Provides code inspection for xunit

Code Coverage

The following properties are defined by the SDK.

Property Value Overridable
ExcludeTestsFromCoverage* true Yes
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.2 179 3/8/2024
3.0.1 623 11/20/2023
2.0.6 268 7/31/2023
2.0.5 276 5/26/2023
2.0.3 791 12/13/2022
2.0.2 551 11/20/2022
1.0.5 467 10/14/2022
1.0.4 402 10/8/2022
1.0.3 439 9/7/2022
1.0.2 395 9/7/2022
1.0.1 393 9/2/2022
1.0.0 696 8/18/2022
1.0.0-preview8 220 8/16/2022
1.0.0-preview7 191 8/16/2022
1.0.0-preview6 255 8/15/2022
1.0.0-preview5 187 8/15/2022
1.0.0-preview4 161 8/15/2022
1.0.0-preview3 214 8/15/2022
1.0.0-preview2 192 8/15/2022
1.0.0-preview1 201 8/14/2022

Update dependencies.