Basics Done
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
namespace Enciphered.Blazor.UIComponents.Tests;
|
||||
|
||||
/// <summary>
|
||||
/// Assembly-level setup: boots the demo server once before any test runs.
|
||||
/// </summary>
|
||||
[SetUpFixture]
|
||||
public class GlobalSetup
|
||||
{
|
||||
public static DemoServerFixture Server { get; private set; } = null!;
|
||||
|
||||
[OneTimeSetUp]
|
||||
public async Task OneTimeSetUp()
|
||||
{
|
||||
Server = new DemoServerFixture();
|
||||
await Server.StartAsync();
|
||||
TestContext.Out.WriteLine($"Demo server started at {Server.BaseUrl}");
|
||||
}
|
||||
|
||||
[OneTimeTearDown]
|
||||
public void OneTimeTearDown()
|
||||
{
|
||||
Server?.Dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user