Soenneker.Tests.Attributes.Local 11.0.174

Prefix Reserved
dotnet add package Soenneker.Tests.Attributes.Local --version 11.0.174
                    
NuGet\Install-Package Soenneker.Tests.Attributes.Local -Version 11.0.174
                    
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="Soenneker.Tests.Attributes.Local" Version="11.0.174" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Tests.Attributes.Local" Version="11.0.174" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Tests.Attributes.Local" />
                    
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 Soenneker.Tests.Attributes.Local --version 11.0.174
                    
#r "nuget: Soenneker.Tests.Attributes.Local, 11.0.174"
                    
#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 Soenneker.Tests.Attributes.Local@11.0.174
                    
#: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=Soenneker.Tests.Attributes.Local&version=11.0.174
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Tests.Attributes.Local&version=11.0.174
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Tests.Attributes.Local

A TUnit skip attribute for tests that should run on a developer machine but not in a detected CI pipeline.

Installation

dotnet add package Soenneker.Tests.Attributes.Local

Usage

using Soenneker.Tests.Attributes.Local;

public sealed class BrowserTests
{
    [Test]
    [LocalOnly("requires an interactive browser profile")]
    public async Task Uses_local_browser_profile()
    {
        // ...
    }
}

When Soenneker.Utils.Environment.EnvironmentUtil.IsPipeline is true, TUnit reports the test as skipped. Otherwise, the test executes normally. The optional reason is appended to the default Local only skip message.

LocalOnly does not verify that required local services, credentials, files, or applications are available. Keep the test's own setup explicit, and use a normal conditional skip when availability requires a more specific check.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.174 0 11/15/2026
11.0.173 213 11/13/2026
11.0.172 210 11/11/2026
11.0.171 85 11/11/2026
11.0.170 275 11/11/2026
11.0.169 88 11/11/2026
11.0.168 306 11/11/2026
11.0.167 189 11/11/2026
11.0.166 604 11/10/2026
11.0.165 386 11/7/2026
11.0.164 424 11/6/2026
11.0.163 344 11/4/2026
11.0.162 188 11/3/2026
11.0.161 386 11/3/2026
11.0.160 211 11/3/2026
11.0.159 220 11/3/2026
11.0.158 198 11/2/2026
11.0.157 264 11/2/2026
11.0.156 236 11/1/2026
11.0.155 378 10/29/2026
Loading failed