FEFF.TestFixtures
1.6.1
Prefix Reserved
dotnet add package FEFF.TestFixtures --version 1.6.1
NuGet\Install-Package FEFF.TestFixtures -Version 1.6.1
<PackageReference Include="FEFF.TestFixtures" Version="1.6.1" />
<PackageVersion Include="FEFF.TestFixtures" Version="1.6.1" />
<PackageReference Include="FEFF.TestFixtures" />
paket add FEFF.TestFixtures --version 1.6.1
#r "nuget: FEFF.TestFixtures, 1.6.1"
#:package FEFF.TestFixtures@1.6.1
#addin nuget:?package=FEFF.TestFixtures&version=1.6.1
#tool nuget:?package=FEFF.TestFixtures&version=1.6.1
FEFF.TestFixtures
Core fixture library for the FEFF.TestFixtures solution.
About
Part of the FEFF.TestFixtures ecosystem — a framework-agnostic library for creating reusable test fixtures with scoped lifetimes. It replaces setup/teardown methods and the disposable pattern on test classes with composable, dependency-injected fixtures that can be shared across test projects. See the main README for full documentation.
This Package
This is the core fixture library — it ships a set of general-purpose fixtures that are useful in any test project, regardless of what is being tested.
Quick Start
Add a test framework integration package to your test project:
dotnet add package FEFF.TestFixtures.XunitV3 # or dotnet add package FEFF.TestFixtures.TUnitEnable the extension (xUnit v3 only):
[assembly: FEFF.TestFixtures.Xunit.TestFixturesExtension]Package
FEFF.TestFixtureswill be linked automatically.Resolve fixtures in your tests:
var tmpDir = TestContext.Current.GetFeffFixture<TmpDirectoryFixture>(); var env = TestContext.Current.GetFeffFixture<EnvironmentFixture>();
Fixtures Included
| Fixture | Description |
|---|---|
EnvironmentFixture |
Snapshots process environment variables on creation and restores them on disposal |
TmpDirectoryFixture |
Creates a unique temp directory per scope and deletes it on disposal; supports Options.SkipDelete to preserve the directory |
TmpScopeIdFixture |
Generates a unique GUID string per scope, useful for naming databases, files, or other isolated resources |
Examples
See Also
| Package | Description |
|---|---|
| FEFF.TestFixtures | current package |
| FEFF.TestFixtures.XunitV3 | Xunit v3 integration |
| FEFF.TestFixtures.TUnit | TUnit integration |
| FEFF.TestFixtures.AspNetCore | ASP.NET Core fixtures |
| FEFF.TestFixtures.AspNetCore.EF | EF Core database lifecycle fixture |
| FEFF.TestFixtures.AspNetCore.SignalR | SignalR testing fixture |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FEFF.TestFixtures.Abstractions (>= 1.6.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.8)
-
net8.0
- FEFF.TestFixtures.Abstractions (>= 1.6.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.8)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on FEFF.TestFixtures:
| Package | Downloads |
|---|---|
|
FEFF.TestFixtures.XunitV3
Xunit extension, adds 'FEFF.TestFixtures': Replace setup/teardown methods with reusable Fixtures, dependency injection for fixtures. |
|
|
FEFF.TestFixtures.AspNetCore
A library of fixtures used to test AspNetCore appications. |
|
|
FEFF.TestFixtures.TUnit
TUnit extension, adds 'FEFF.TestFixtures'. |
|
|
FEFF.TestFixtures.XunitV4
xUnit v4 extension, adds 'FEFF.TestFixtures'. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.6.1 | 177 | 6/1/2026 |
| 1.6.0 | 353 | 5/6/2026 |
| 1.5.1 | 181 | 4/29/2026 |
| 1.5.0 | 297 | 4/28/2026 |
| 1.4.6 | 202 | 4/23/2026 |
| 1.4.5 | 196 | 4/22/2026 |
| 1.4.4 | 155 | 4/15/2026 |
| 1.4.3-alpha | 165 | 4/15/2026 |
| 1.4.2 | 246 | 4/13/2026 |
| 1.4.1 | 172 | 4/11/2026 |
| 1.3.5 | 171 | 4/11/2026 |
| 1.3.4 | 170 | 4/9/2026 |
| 1.3.3 | 243 | 4/9/2026 |
| 1.3.2 | 153 | 4/5/2026 |
| 1.3.1 | 147 | 4/3/2026 |
| 1.3.0 | 143 | 4/2/2026 |
| 1.2.2 | 220 | 3/28/2026 |
| 1.2.1 | 142 | 3/25/2026 |
| 1.2.0 | 131 | 3/23/2026 |
| 0.0.12-alpha | 158 | 4/15/2026 |