Experiment with setting up system test docker services
This commit is contained in:
11
tests/WebApi.Tests.System/SharedTestContext.cs
Normal file
11
tests/WebApi.Tests.System/SharedTestContext.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace WebApi.Tests.System;
|
||||
|
||||
public sealed class SharedTestContext : IDisposable
|
||||
{
|
||||
public DockerComposeFixture2 DockerComposeFixture { get; set; } = new();
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
DockerComposeFixture.Dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user