Added descriptions for all tests
All checks were successful
Nuget Pkg Build / build (push) Successful in 1m43s

This commit is contained in:
Samuele Lorefice
2026-06-15 00:39:55 +02:00
parent fda62e30bc
commit b9c4f65892
5 changed files with 39 additions and 39 deletions

View File

@@ -2,7 +2,7 @@ namespace Syrette.Tests;
public class ServiceContainerThreadingTests
{
[Fact]
[Fact(DisplayName = "Concurrent singleton resolution from multiple threads returns the same instance")]
public void Concurrent_singleton_resolution_returns_same_instance()
{
var container = new ServiceContainer();
@@ -21,7 +21,7 @@ public class ServiceContainerThreadingTests
}
}
[Fact]
[Fact(DisplayName = "Concurrent transient resolution from multiple threads returns unique instances")]
public void Concurrent_transient_resolution_returns_unique_instances()
{
var container = new ServiceContainer();
@@ -43,7 +43,7 @@ public class ServiceContainerThreadingTests
}
}
[Fact]
[Fact(DisplayName = "Concurrent registration and resolution does not crash or deadlock")]
public void Concurrent_registration_and_resolution_does_not_crash()
{
var container = new ServiceContainer();