TUnit is a next-generation testing framework for C# that outpaces traditional frameworks with source-generated tests, parallel execution by default, and Native AOT support. Built on the modern Microsoft.Testing.Platform, TUnit delivers faster test runs, better developer experience, and unmatched flexibility.
Feature | Traditional Frameworks | TUnit |
---|---|---|
Test Discovery | ❌ Runtime reflection | ✅ Compile-time generation |
Execution Speed | ❌ Sequential by default | ✅ Parallel by default |
Modern .NET | ✅ Full Native AOT & trimming | |
Test Dependencies | ❌ Not supported | ✅ [DependsOn] chains |
Resource Management | ❌ Manual lifecycle | ✅ Intelligent cleanup |
⚡ Parallel by Default - Tests run concurrently with intelligent dependency management
🎯 Compile-Time Discovery - Know your test structure before runtime
🔧 Modern .NET Ready - Native AOT, trimming, and latest .NET features
🎭 Extensible - Customize data sources, attributes, and test behavior
🚀 New to TUnit? Start with our Getting Started Guide
🔄 Migrating? See our Migration Guides
🎯 Advanced Features? Explore Data-Driven Testing, Test Dependencies, and Parallelism Control
dotnet new install TUnit.Templates
dotnet new TUnit -n "MyTestProject"
dotnet add package TUnit --prerelease
📖 📚 Complete Documentation & Guides - Everything you need to master TUnit
🚀 Performance & Modern Platform
|
🎯 Advanced Test Control
|
📊 Rich Data & Assertions
|
🔧 Developer Experience
|
[Test]
public async Task User_Creation_Should_Set_Timestamp()
{
// Arrange
var userService = new UserService();
// Act
var user = await userService.CreateUserAsync("john.doe@example.com");
// Assert - TUnit's fluent assertions
await Assert.That(user.CreatedAt)
.IsEqualTo(DateTime.Now)
.Within(TimeSpan.FromMinutes(1));
await Assert.That(user.Email)
.IsEqualTo("john.doe@example.com");
}
[Test]
[Arguments("user1@test.com", "ValidPassword123")]
[Arguments("user2@test.com", "AnotherPassword456")]
[Arguments("admin@test.com", "AdminPass789")]
public async Task User_Login_Should_Succeed(string email, string password)
{
var result = await authService.LoginAsync(email, password);
await Assert.That(result.IsSuccess).IsTrue();
}
// Matrix testing - tests all combinations
[Test]
[MatrixDataSource]
public async Task Database_Operations_Work(
[Matrix("Create", "Update", "Delete")] string operation,
[Matrix("User", "Product", "Order")] string entity)
{
await Assert.That(await ExecuteOperation(operation, entity))
.IsTrue();
}
[Before(Class)]
public static async Task SetupDatabase(ClassHookContext context)
{
await DatabaseHelper.InitializeAsync();
}
[Test, DisplayName("Register a new account")]
[MethodDataSource(nameof(GetTestUsers))]
public async Task Register_User(string username, string password)
{
// Test implementation
}
[Test, DependsOn(nameof(Register_User))]
[Retry(3)] // Retry on failure
public async Task Login_With_Registered_User(string username, string password)
{
// This test runs after Register_User completes
}
[Test]
[ParallelLimit<LoadTestParallelLimit>] // Custom parallel control
[Repeat(100)] // Run 100 times
public async Task Load_Test_Homepage()
{
// Performance testing
}
// Custom attributes
[Test, WindowsOnly, RetryOnHttpError(5)]
public async Task Windows_Specific_Feature()
{
// Platform-specific test with custom retry logic
}
public class LoadTestParallelLimit : IParallelLimit
{
public int Limit => 10; // Limit to 10 concurrent executions
}
// Custom conditional execution
public class WindowsOnlyAttribute : SkipAttribute
{
public WindowsOnlyAttribute() : base("Windows only test") { }
public override Task<bool> ShouldSkip(TestContext testContext)
=> Task.FromResult(!OperatingSystem.IsWindows());
}
// Custom retry logic
public class RetryOnHttpErrorAttribute : RetryAttribute
{
public RetryOnHttpErrorAttribute(int times) : base(times) { }
public override Task<bool> ShouldRetry(TestInformation testInformation,
Exception exception, int currentRetryCount)
=> Task.FromResult(exception is HttpRequestException { StatusCode: HttpStatusCode.ServiceUnavailable });
}
[Test]
[Arguments(1, 2, 3)]
[Arguments(5, 10, 15)]
public async Task Calculate_Sum(int a, int b, int expected)
{
await Assert.That(Calculator.Add(a, b))
.IsEqualTo(expected);
} Fast, isolated, and reliable |
[Test, DependsOn(nameof(CreateUser))]
public async Task Login_After_Registration()
{
// Runs after CreateUser completes
var result = await authService.Login(user);
await Assert.That(result.IsSuccess).IsTrue();
} Stateful workflows made simple |
[Test]
[ParallelLimit<LoadTestLimit>]
[Repeat(1000)]
public async Task API_Handles_Concurrent_Requests()
{
await Assert.That(await httpClient.GetAsync("/api/health"))
.HasStatusCode(HttpStatusCode.OK);
} Built-in performance testing |
Tests are discovered at build time, not runtime - enabling faster discovery, better IDE integration, and precise resource lifecycle management.
Built for concurrency from day one with [DependsOn]
for test chains, [ParallelLimit]
for resource control, and intelligent scheduling.
The DataSourceGenerator<T>
pattern and custom attribute system let you extend TUnit's capabilities without modifying core framework code.
- 📚 Official Documentation - Comprehensive guides, tutorials, and API reference
- 💬 GitHub Discussions - Get help and share ideas
- 🐛 Issue Tracking - Report bugs and request features
- 📢 Release Notes - Stay updated with latest improvements
TUnit works seamlessly across all major .NET development environments:
✅ Fully supported - No additional configuration needed for latest versions
⚙️ Earlier versions: Enable "Use testing platform server mode" in Tools > Manage Preview Features
✅ Fully supported
⚙️ Setup: Enable "Testing Platform support" in Settings > Build, Execution, Deployment > Unit Testing > VSTest
✅ Fully supported
⚙️ Setup: Install C# Dev Kit and enable "Use Testing Platform Protocol"
✅ Full CLI support - Works with dotnet test
, dotnet run
, and direct executable execution
Package | Use Case |
---|---|
TUnit |
⭐ Start here - Complete testing framework (includes Core + Engine + Assertions) |
TUnit.Core |
📚 Test libraries and shared components (no execution engine) |
TUnit.Engine |
🚀 Test execution engine and adapter (for test projects) |
TUnit.Assertions |
✅ Standalone assertions (works with any test framework) |
TUnit.Playwright |
🎭 Playwright integration with automatic lifecycle management |
Coming from NUnit or xUnit? TUnit maintains familiar syntax while adding modern capabilities:
// Enhanced with TUnit's advanced features
[Test]
[Arguments("value1")]
[Arguments("value2")]
[Retry(3)]
[ParallelLimit<CustomLimit>]
public async Task Modern_TUnit_Test(string value) { }
📖 Need help migrating? Check our detailed Migration Guides with step-by-step instructions for xUnit, NUnit, and MSTest.
The API is mostly stable, but may have some changes based on feedback or issues before v1.0 release.
# Create a new test project with examples
dotnet new install TUnit.Templates && dotnet new TUnit -n "MyAwesomeTests"
# Or add to existing project
dotnet add package TUnit --prerelease
Optimized execution Parallel by default Zero reflection overhead |
Native AOT support Latest .NET features Source generation |
Compile-time checks Rich IDE integration Intelligent debugging |
Test dependencies Custom attributes Extensible architecture |
📖 Learn More: tunit.dev | 💬 Get Help: GitHub Discussions | ⭐ Show Support: Star on GitHub
TUnit is actively developed and production-ready. Join our growing community of developers who've made the switch!
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
Build_TUnit | 0.57.1 | 1.909 s | 0.1127 s | 0.3271 s | 1.870 s |
Build_NUnit | 4.4.0 | 1.500 s | 0.0670 s | 0.1954 s | 1.487 s |
Build_xUnit | 2.9.3 | 1.503 s | 0.0751 s | 0.2213 s | 1.493 s |
Build_MSTest | 3.10.3 | 1.470 s | 0.0751 s | 0.2180 s | 1.439 s |
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
Build_TUnit | 0.57.1 | 1.838 s | 0.0337 s | 0.0461 s | 1.825 s |
Build_NUnit | 4.4.0 | 1.535 s | 0.0203 s | 0.0190 s | 1.534 s |
Build_xUnit | 2.9.3 | 1.538 s | 0.0134 s | 0.0105 s | 1.541 s |
Build_MSTest | 3.10.3 | 1.520 s | 0.0142 s | 0.0126 s | 1.522 s |
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
Build_TUnit | 0.57.1 | 1.861 s | 0.0372 s | 0.0590 s | 1.853 s |
Build_NUnit | 4.4.0 | 1.569 s | 0.0190 s | 0.0169 s | 1.574 s |
Build_xUnit | 2.9.3 | 1.567 s | 0.0231 s | 0.0205 s | 1.562 s |
Build_MSTest | 3.10.3 | 1.570 s | 0.0150 s | 0.0140 s | 1.571 s |
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | NA | NA | NA | NA |
xUnit | 2.9.3 | NA | NA | NA | NA |
MSTest | 3.10.3 | NA | NA | NA | NA |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.NUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.xUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.MSTest: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | NA | NA | NA | NA |
xUnit | 2.9.3 | NA | NA | NA | NA |
MSTest | 3.10.3 | NA | NA | NA | NA |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.NUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.xUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.MSTest: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | NA | NA | NA | NA |
xUnit | 2.9.3 | NA | NA | NA | NA |
MSTest | 3.10.3 | NA | NA | NA | NA |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.NUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.xUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.MSTest: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 145.9 ms | 10.13 ms | 29.87 ms | 141.9 ms |
TUnit | 0.57.1 | 645.8 ms | 37.43 ms | 105.58 ms | 599.2 ms |
NUnit | 4.4.0 | 1,434.8 ms | 168.81 ms | 495.09 ms | 1,416.9 ms |
xUnit | 2.9.3 | 1,219.5 ms | 93.00 ms | 271.30 ms | 1,204.7 ms |
MSTest | 3.10.3 | 1,148.2 ms | 92.85 ms | 272.32 ms | 1,078.3 ms |
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 28.22 ms | 0.437 ms | 0.409 ms | 28.11 ms |
TUnit | 0.57.1 | 964.29 ms | 18.416 ms | 21.923 ms | 965.70 ms |
NUnit | 4.4.0 | 1,344.31 ms | 12.821 ms | 11.993 ms | 1,346.47 ms |
xUnit | 2.9.3 | 1,421.49 ms | 11.398 ms | 10.662 ms | 1,422.37 ms |
MSTest | 3.10.3 | 1,267.58 ms | 11.311 ms | 9.445 ms | 1,268.16 ms |
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 62.91 ms | 1.070 ms | 0.948 ms | 62.41 ms |
TUnit | 0.57.1 | 994.51 ms | 19.394 ms | 24.527 ms | 981.48 ms |
NUnit | 4.4.0 | 1,368.56 ms | 15.383 ms | 12.846 ms | 1,372.60 ms |
xUnit | 2.9.3 | 1,483.00 ms | 23.642 ms | 22.115 ms | 1,484.62 ms |
MSTest | 3.10.3 | 1,326.32 ms | 21.125 ms | 19.760 ms | 1,325.87 ms |
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 140.0 ms | 8.65 ms | 24.53 ms | 134.2 ms |
TUnit | 0.57.1 | 731.4 ms | 46.94 ms | 135.44 ms | 691.8 ms |
NUnit | 4.4.0 | 864.4 ms | 24.34 ms | 69.83 ms | 865.4 ms |
xUnit | 2.9.3 | 1,079.6 ms | 70.79 ms | 201.98 ms | 1,014.6 ms |
MSTest | 3.10.3 | 1,060.8 ms | 46.59 ms | 135.92 ms | 1,057.0 ms |
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 25.56 ms | 0.184 ms | 0.153 ms | 25.58 ms |
TUnit | 0.57.1 | 928.63 ms | 18.211 ms | 22.365 ms | 917.69 ms |
NUnit | 4.4.0 | 1,290.60 ms | 8.473 ms | 7.926 ms | 1,290.18 ms |
xUnit | 2.9.3 | 1,361.20 ms | 11.447 ms | 10.708 ms | 1,360.18 ms |
MSTest | 3.10.3 | 1,238.10 ms | 9.655 ms | 9.031 ms | 1,238.39 ms |
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 52.43 ms | 1.031 ms | 1.146 ms | 52.56 ms |
TUnit | 0.57.1 | 975.34 ms | 19.025 ms | 26.670 ms | 963.69 ms |
NUnit | 4.4.0 | 1,309.60 ms | 10.414 ms | 9.741 ms | 1,306.76 ms |
xUnit | 2.9.3 | 1,368.26 ms | 15.583 ms | 14.576 ms | 1,368.76 ms |
MSTest | 3.10.3 | 1,254.25 ms | 8.177 ms | 7.649 ms | 1,255.04 ms |
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | 1,275.2 ms | 127.87 ms | 371.0 ms | 1,163.8 ms |
xUnit | 2.9.3 | 1,043.8 ms | 69.41 ms | 202.5 ms | 962.7 ms |
MSTest | 3.10.3 | 921.8 ms | 53.90 ms | 158.9 ms | 871.0 ms |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | 1.313 s | 0.0158 s | 0.0140 s | 1.315 s |
xUnit | 2.9.3 | 1.396 s | 0.0166 s | 0.0147 s | 1.397 s |
MSTest | 3.10.3 | 1.262 s | 0.0177 s | 0.0166 s | 1.260 s |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | 1.341 s | 0.0117 s | 0.0110 s | 1.342 s |
xUnit | 2.9.3 | 1.393 s | 0.0146 s | 0.0136 s | 1.395 s |
MSTest | 3.10.3 | 1.282 s | 0.0092 s | 0.0082 s | 1.283 s |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 210.4 ms | 19.58 ms | 57.42 ms | 195.4 ms |
TUnit | 0.57.1 | 925.2 ms | 39.68 ms | 110.61 ms | 912.3 ms |
NUnit | 4.4.0 | 1,317.6 ms | 157.52 ms | 459.49 ms | 1,130.6 ms |
xUnit | 2.9.3 | 1,206.9 ms | 77.50 ms | 228.51 ms | 1,196.0 ms |
MSTest | 3.10.3 | 1,099.5 ms | 44.47 ms | 125.42 ms | 1,090.7 ms |
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 26.00 ms | 0.264 ms | 0.234 ms | 25.94 ms |
TUnit | 0.57.1 | 939.79 ms | 18.520 ms | 21.328 ms | 940.54 ms |
NUnit | 4.4.0 | 1,292.19 ms | 10.555 ms | 9.873 ms | 1,290.62 ms |
xUnit | 2.9.3 | 1,368.88 ms | 12.455 ms | 11.041 ms | 1,365.41 ms |
MSTest | 3.10.3 | NA | NA | NA | NA |
Benchmarks with issues: RuntimeBenchmarks.MSTest: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 61.17 ms | 1.197 ms | 1.514 ms | 61.04 ms |
TUnit | 0.57.1 | 1,050.39 ms | 20.692 ms | 23.000 ms | 1,047.87 ms |
NUnit | 4.4.0 | 1,403.75 ms | 20.444 ms | 18.123 ms | 1,403.83 ms |
xUnit | 2.9.3 | 1,484.82 ms | 22.204 ms | 20.770 ms | 1,486.71 ms |
MSTest | 3.10.3 | NA | NA | NA | NA |
Benchmarks with issues: RuntimeBenchmarks.MSTest: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 184.8 ms | 20.47 ms | 60.04 ms | 171.5 ms |
TUnit | 0.57.1 | 806.5 ms | 54.37 ms | 159.46 ms | 770.8 ms |
NUnit | 4.4.0 | 972.1 ms | 56.89 ms | 167.74 ms | 933.2 ms |
xUnit | 2.9.3 | 860.8 ms | 24.97 ms | 72.83 ms | 864.7 ms |
MSTest | 3.10.3 | 935.1 ms | 64.26 ms | 186.42 ms | 869.3 ms |
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 25.44 ms | 0.153 ms | 0.135 ms | 25.48 ms |
TUnit | 0.57.1 | 938.71 ms | 18.249 ms | 19.526 ms | 941.66 ms |
NUnit | 4.4.0 | 1,305.08 ms | 9.626 ms | 9.004 ms | 1,306.83 ms |
xUnit | 2.9.3 | 1,380.08 ms | 12.493 ms | 11.075 ms | 1,380.70 ms |
MSTest | 3.10.3 | 1,249.75 ms | 7.946 ms | 7.433 ms | 1,249.51 ms |
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 54.11 ms | 1.078 ms | 2.052 ms | 53.99 ms |
TUnit | 0.57.1 | 1,014.39 ms | 20.278 ms | 26.367 ms | 1,001.92 ms |
NUnit | 4.4.0 | 1,371.68 ms | 10.578 ms | 9.895 ms | 1,373.50 ms |
xUnit | 2.9.3 | 1,422.30 ms | 7.654 ms | 6.785 ms | 1,419.42 ms |
MSTest | 3.10.3 | 1,314.35 ms | 20.664 ms | 18.318 ms | 1,309.24 ms |
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | NA | NA | NA | NA |
xUnit | 2.9.3 | NA | NA | NA | NA |
MSTest | 3.10.3 | NA | NA | NA | NA |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.NUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.xUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.MSTest: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | NA | NA | NA | NA |
xUnit | 2.9.3 | NA | NA | NA | NA |
MSTest | 3.10.3 | NA | NA | NA | NA |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.NUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.xUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.MSTest: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | NA | NA | NA | NA |
TUnit | 0.57.1 | NA | NA | NA | NA |
NUnit | 4.4.0 | NA | NA | NA | NA |
xUnit | 2.9.3 | NA | NA | NA | NA |
MSTest | 3.10.3 | NA | NA | NA | NA |
Benchmarks with issues: RuntimeBenchmarks.TUnit_AOT: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.TUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.NUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.xUnit: Job-YNJDZW(Runtime=.NET 9.0) RuntimeBenchmarks.MSTest: Job-YNJDZW(Runtime=.NET 9.0)
BenchmarkDotNet v0.15.2, macOS Sequoia 15.5 (24F74) [Darwin 24.5.0]
Apple M1 (Virtual), 1 CPU, 3 logical and 3 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), Arm64 RyuJIT AdvSIMD
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 133.8 ms | 6.85 ms | 19.87 ms | 131.2 ms |
TUnit | 0.57.1 | 954.8 ms | 47.35 ms | 132.79 ms | 932.7 ms |
NUnit | 4.4.0 | 1,116.7 ms | 46.64 ms | 134.58 ms | 1,079.4 ms |
xUnit | 2.9.3 | 1,117.8 ms | 87.31 ms | 241.93 ms | 1,112.2 ms |
MSTest | 3.10.3 | 998.6 ms | 53.60 ms | 158.03 ms | 946.1 ms |
BenchmarkDotNet v0.15.2, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 25.98 ms | 0.181 ms | 0.160 ms | 25.95 ms |
TUnit | 0.57.1 | 934.75 ms | 18.361 ms | 23.221 ms | 923.79 ms |
NUnit | 4.4.0 | 1,288.54 ms | 5.837 ms | 5.175 ms | 1,290.32 ms |
xUnit | 2.9.3 | 1,356.60 ms | 11.666 ms | 10.912 ms | 1,356.51 ms |
MSTest | 3.10.3 | 1,242.35 ms | 7.653 ms | 7.159 ms | 1,243.57 ms |
BenchmarkDotNet v0.15.2, Windows 10 (10.0.20348.4052) (Hyper-V)
AMD EPYC 7763 2.44GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.304
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Job-YNJDZW : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
Runtime=.NET 9.0
Method | Version | Mean | Error | StdDev | Median |
---|---|---|---|---|---|
TUnit_AOT | 0.57.1 | 61.63 ms | 0.862 ms | 0.806 ms | 62.15 ms |
TUnit | 0.57.1 | 1,066.72 ms | 21.324 ms | 21.898 ms | 1,062.03 ms |
NUnit | 4.4.0 | 1,436.83 ms | 9.377 ms | 7.830 ms | 1,437.75 ms |
xUnit | 2.9.3 | 1,492.08 ms | 18.040 ms | 16.875 ms | 1,486.55 ms |
MSTest | 3.10.3 | 1,378.82 ms | 16.683 ms | 15.606 ms | 1,386.39 ms |