public static async Task BeforeFeature() { _webFixture = new WebFixture(); try { await _webFixture.Start(); } catch (Exception) { _webFixture.Dispose(); await _webFixture.EnsureNotRunning(); throw; } }
public static async Task AfterFeature() { _webFixture.Dispose(); await _webFixture.EnsureNotRunning(); }