Codebelt.Extensions.Xunit
9.0.0
dotnet add package Codebelt.Extensions.Xunit --version 9.0.0
NuGet\Install-Package Codebelt.Extensions.Xunit -Version 9.0.0
<PackageReference Include="Codebelt.Extensions.Xunit" Version="9.0.0" />
paket add Codebelt.Extensions.Xunit --version 9.0.0
#r "nuget: Codebelt.Extensions.Xunit, 9.0.0"
// Install Codebelt.Extensions.Xunit as a Cake Addin #addin nuget:?package=Codebelt.Extensions.Xunit&version=9.0.0 // Install Codebelt.Extensions.Xunit as a Cake Tool #tool nuget:?package=Codebelt.Extensions.Xunit&version=9.0.0
About
An open-source project (MIT license) that targets and complements the xUnit.net test platform. It provides a uniform and convenient way of doing unit test for all project types in .NET.
It is, by heart, free, flexible and built to extend and boost your agile codebelt.
Codebelt.Extensions.Xunit for .NET
The Codebelt.Extensions.Xunit
namespace contains types that provides a uniform way of doing unit testing. The namespace relates to the Xunit.Abstractions
namespace.
More documentation available at our documentation site:
Related Packages
- Codebelt.Extensions.Xunit 📦
- Codebelt.Extensions.Xunit.App 🏭
- Codebelt.Extensions.Xunit.Hosting 📦
- Codebelt.Extensions.Xunit.Hosting.AspNetCore 📦
CSharp Example
Source: TestTest.cs
public class TestTest : Test
{
public TestTest(ITestOutputHelper output) : base(output)
{
}
// intentionally left out for brevity
protected override void OnDisposeManagedResources()
{
base.OnDisposeManagedResources();
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0)
- System.Threading.Tasks.Extensions (>= 4.6.0)
- xunit.abstractions (>= 2.0.3)
- xunit.assert (>= 2.9.2)
- xunit.extensibility.core (>= 2.9.2)
-
net8.0
- xunit.abstractions (>= 2.0.3)
- xunit.assert (>= 2.9.2)
- xunit.extensibility.core (>= 2.9.2)
-
net9.0
- xunit.abstractions (>= 2.0.3)
- xunit.assert (>= 2.9.2)
- xunit.extensibility.core (>= 2.9.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Codebelt.Extensions.Xunit:
Package | Downloads |
---|---|
Codebelt.Extensions.Xunit.Hosting
The Codebelt.Extensions.Xunit.Hosting namespace contains types that provides a uniform way of doing unit testing used in conjunction with Microsoft Dependency Injection. The namespace relates to the Xunit.Abstractions namespace. |
|
Codebelt.Extensions.Xunit.App
Provides a convenient set of default API additions for building .NET test projects based on xUnit. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 694 | 11/13/2024 |
9.0.0-rc.1 | 501 | 11/11/2024 |
9.0.0-preview.11 | 110 | 10/26/2024 |
9.0.0-preview.10 | 230 | 10/9/2024 |
9.0.0-preview.9 | 284 | 10/6/2024 |
9.0.0-preview.8 | 185 | 10/4/2024 |
9.0.0-preview.7 | 47 | 10/3/2024 |
9.0.0-preview.6 | 125 | 10/1/2024 |
9.0.0-preview.5 | 49 | 9/30/2024 |
9.0.0-preview.4 | 387 | 9/25/2024 |
9.0.0-preview.3 | 45 | 9/23/2024 |
9.0.0-preview.2 | 137 | 9/17/2024 |
9.0.0-preview.1 | 70 | 9/15/2024 |
8.4.1 | 563 | 9/16/2024 |
8.4.0 | 215 | 9/15/2024 |
Version 9.0.0
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
- REMOVED Support for TFM .NET 6 (LTS)
# New Features
- EXTENDED ITest interface in the Codebelt.Extensions.Xunit namespace with one new method: DisposeAsync
- EXTENDED Test class in the Codebelt.Extensions.Xunit namespace with three new methods: InitializeAsync, OnDisposeManagedResourcesAsync and DisposeAsync
Version 8.4.0
Availability: .NET 8, .NET 6 and .NET Standard 2.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
# Improvements
- EXTENDED TestOutputHelperExtensions class in the Codebelt.Extensions.Xunit namespace with an additional overloaded method: WriteLines
# New Features
- ADDED ITestOutputHelperAccessor interface in the Codebelt.Extensions.Xunit namespace that provides access to the ITestOutputHelper instance
- ADDED TestOutputHelperAccessor class in the Codebelt.Extensions.Xunit namespace that provides a default implementation of the ITestOutputHelper interface
- ADDED StringExtensions class in the Codebelt.Extensions.Xunit namespace with one extension method (TFM netstandard2.0) for the String class: ReplaceLineEndings
Version 8.3.2
Availability: .NET 8, .NET 6 and .NET Standard 2.0
# ALM
- REMOVED Support for TFM .NET 7 (STS)
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version 8.3.1
Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version 8.3.0
Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0
# New Features
- EXTENDED Test class in the Codebelt.Extensions.Xunit namespace with one new static method: Match
- ADDED WildcardOptions class in the Codebelt.Extensions.Xunit namespace that provides configuration options for the Match method on the Test class
Version 8.2.0
Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version: 8.1.0
Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version: 8.0.1
Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version: 8.0.0
Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs