VOOZH about

URL: https://www.nuget.org/packages/CasCap.Common.Testing/

⇱ NuGet Gallery | CasCap.Common.Testing 4.12.1




👁 Image
CasCap.Common.Testing 4.12.1

Prefix Reserved
dotnet add package CasCap.Common.Testing --version 4.12.1
 
 
NuGet\Install-Package CasCap.Common.Testing -Version 4.12.1
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CasCap.Common.Testing" Version="4.12.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CasCap.Common.Testing" Version="4.12.1" />
 
Directory.Packages.props
<PackageReference Include="CasCap.Common.Testing" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CasCap.Common.Testing --version 4.12.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CasCap.Common.Testing, 4.12.1"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CasCap.Common.Testing@4.12.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CasCap.Common.Testing&version=4.12.1
 
Install as a Cake Addin
#tool nuget:?package=CasCap.Common.Testing&version=4.12.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

CasCap.Common.Testing

xUnit v3 test infrastructure — logging redirection and conditional-skip attributes for CI environments.

Installation

dotnet add package CasCap.Common.Testing

Purpose

Provides utilities that route ILogger output to xUnit's ITestOutputHelper via a custom ILoggerProvider, plus [Fact]/[Theory] attributes that automatically skip tests when running under Azure DevOps or GitHub Actions.

Target frameworks: net8.0, net9.0, net10.0

Extensions

Extension Description
ServiceCollectionExtensions.AddXUnitLogging() Registers the test logging provider (TestLogProvider) into the DI container

Logging

Type Description
TestLogProvider ILoggerProvider that forwards log entries to xUnit's ITestOutputHelper
TestLogger ILogger implementation backing TestLogProvider

xUnit Attributes

Attribute Description
SkipIfCIBuildFactAttribute Skips the [Fact] when running on any CI server (Azure DevOps or GitHub Actions)
SkipIfCIBuildTheoryAttribute Skips the [Theory] when running on any CI server
SkipIfGithubActionsBuildFactAttribute Skips the [Fact] when running on GitHub Actions
SkipIfGithubActionsBuildTheoryAttribute Skips the [Theory] when running on GitHub Actions
SkipIfAzureDevOpsBuildFactAttribute Skips the [Fact] when running on Azure DevOps
SkipIfAzureDevOpsBuildTheoryAttribute Skips the [Theory] when running on Azure DevOps

Dependencies

NuGet Packages

Package
xunit.v3.extensibility.core

Project References

Project Purpose
CasCap.Common.Logging ApplicationLogging static logger factory
Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
4.12.1 104 6/14/2026
4.12.0 98 6/12/2026
4.11.9 99 6/10/2026
4.11.8 138 5/27/2026
4.11.7 103 5/27/2026
4.11.6 106 5/26/2026
4.11.5 110 5/22/2026
4.11.4 129 5/20/2026
4.11.3 158 5/13/2026
4.11.2 114 5/11/2026
4.11.1 109 5/11/2026
4.11.0 133 5/8/2026
4.10.5 110 5/4/2026
4.10.4 114 5/2/2026
4.10.3 192 4/24/2026
4.10.2 115 4/24/2026
4.10.1 126 4/23/2026
4.10.0 107 4/23/2026
4.9.3 119 4/20/2026
4.9.2 125 4/19/2026
Loading failed