Soenneker.Tests.FixturedUnit
4.0.2501
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Tests.FixturedUnit --version 4.0.2501
NuGet\Install-Package Soenneker.Tests.FixturedUnit -Version 4.0.2501
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.FixturedUnit" Version="4.0.2501" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Tests.FixturedUnit" Version="4.0.2501" />
<PackageReference Include="Soenneker.Tests.FixturedUnit" />
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.FixturedUnit --version 4.0.2501
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Tests.FixturedUnit, 4.0.2501"
#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.FixturedUnit@4.0.2501
#: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.FixturedUnit&version=4.0.2501
#tool nuget:?package=Soenneker.Tests.FixturedUnit&version=4.0.2501
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Tests.FixturedUnit
A fundamental test that stores UnitFixture and provides synthetic inversion of control. It inherits from UnitTest and its most used function is Resolve{T}, which retrieves a service from the fixture service provider.
Install
dotnet add package Soenneker.Tests.FixturedUnit
Quick start
using Soenneker.Tests.FixturedUnit.Abstract;
IFixturedUnitTest fixturedUnitTest = /* resolve from DI */;
var result = fixturedUnitTest.Resolve();
Resolves fixtured Unit Test.
What you get
IFixturedUnitTest— A fundamental test that stores UnitFixture and provides synthetic inversion of control. It inherits fromUnitTestand its most used function isResolve{T}, which retrieves a service from the fixture service provider.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
IFixturedUnitTest.Resolve(scoped) |
Resolves fixtured Unit Test. | The resulting value. |
Practical notes
- Dispose instances you own when their scope ends so held resources can be released.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Soenneker.Extensions.ServiceProvider (>= 4.0.333)
- Soenneker.Fixtures.Unit (>= 4.0.729)
- Soenneker.Tests.Unit (>= 4.0.1268)
- Soenneker.Utils.BackgroundQueue (>= 4.0.2462)
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.0.2561 | 53 | 9/10/2026 |
| 4.0.2560 | 52 | 9/9/2026 |
| 4.0.2559 | 36 | 9/9/2026 |
| 4.0.2558 | 46 | 9/9/2026 |
| 4.0.2557 | 35 | 9/9/2026 |
| 4.0.2556 | 38 | 9/9/2026 |
| 4.0.2555 | 38 | 9/8/2026 |
| 4.0.2553 | 61 | 9/8/2026 |
| 4.0.2552 | 79 | 9/8/2026 |
| 4.0.2551 | 77 | 9/8/2026 |
| 4.0.2550 | 76 | 9/8/2026 |
| 4.0.2549 | 78 | 9/8/2026 |
| 4.0.2548 | 85 | 9/7/2026 |
| 4.0.2547 | 95 | 9/7/2026 |
| 4.0.2546 | 89 | 9/7/2026 |
| 4.0.2545 | 83 | 9/7/2026 |
| 4.0.2544 | 87 | 9/7/2026 |
| 4.0.2543 | 103 | 9/6/2026 |
| 4.0.2542 | 105 | 9/6/2026 |
| 4.0.2501 | 85 | 8/30/2026 |
Loading failed
Update dependency Soenneker.Utils.BackgroundQueue to 4.0.2462 (#2790)