Novolis.Testing.TestBases
2026.1.1.40
See the version list below for details.
dotnet add package Novolis.Testing.TestBases --version 2026.1.1.40
NuGet\Install-Package Novolis.Testing.TestBases -Version 2026.1.1.40
<PackageReference Include="Novolis.Testing.TestBases" Version="2026.1.1.40" />
<PackageVersion Include="Novolis.Testing.TestBases" Version="2026.1.1.40" />
<PackageReference Include="Novolis.Testing.TestBases" />
paket add Novolis.Testing.TestBases --version 2026.1.1.40
#r "nuget: Novolis.Testing.TestBases, 2026.1.1.40"
#:package Novolis.Testing.TestBases@2026.1.1.40
#addin nuget:?package=Novolis.Testing.TestBases&version=2026.1.1.40
#tool nuget:?package=Novolis.Testing.TestBases&version=2026.1.1.40
<p align="center"> <a href="https://github.com/Novolis-Platform/novolis-testing"> <img src="https://raw.githubusercontent.com/Novolis-Platform/.github/main/brand/logo-icon.svg" width="72" alt="Novolis"/> </a> </p>
Novolis.Testing.TestBases
Reusable TUnit bases for WebApplication and generic IHost integration tests.
Install
dotnet add package Novolis.Testing.TestBases
Prerequisites: .NET 10 SDK (net10.0).
Quick start
using Novolis.Testing.TestBases;
public sealed class HealthTests : WebApplicationTestBase
{
protected override Task SetupAsync(WebApplicationBuilder builder)
{
builder.Services.AddControllers();
return Task.CompletedTask;
}
[Test]
public async Task Health_returns_ok()
{
await InitializeAsync();
var response = await GetTestClient.GetAsync("/health");
await Assert.That(response.IsSuccessStatusCode).IsTrue();
}
}
For non-HTTP hosts, inherit HostApplicationTestBase instead.
Related packages
| Package | When to use |
|---|---|
Novolis.Testing.TestServer |
Lightweight Kestrel stub routes |
Novolis.Testing.Logging |
In-memory log capture |
More documentation
Support
Pre-release (2026.1.* on GitHub Packages).
| 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. |
-
net10.0
- TUnit (>= 1.72.4)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Novolis.Testing.TestBases:
| Package | Downloads |
|---|---|
|
Novolis.Testing.TUnit
TUnit test output extensions (tables, JSON, C# dump). |
|
|
Novolis.Testing.Logging
Test logging for TUnit TestContext. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.1.54 | 78 | 10/5/2026 |
| 2026.1.1.53 | 78 | 10/4/2026 |
| 2026.1.1.52 | 79 | 10/4/2026 |
| 2026.1.1.51 | 78 | 10/4/2026 |
| 2026.1.1.50 | 75 | 10/4/2026 |
| 2026.1.1.49 | 81 | 10/4/2026 |
| 2026.1.1.47 | 80 | 10/4/2026 |
| 2026.1.1.45 | 74 | 10/4/2026 |
| 2026.1.1.44 | 82 | 10/4/2026 |
| 2026.1.1.43 | 95 | 10/2/2026 |
| 2026.1.1.42 | 90 | 10/2/2026 |
| 2026.1.1.41 | 92 | 10/1/2026 |
| 2026.1.1.40 | 87 | 9/30/2026 |