You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following example shows a custom [xUnit.net](https://xunit.github.io/)```[Trait]``` that checks for an available BrowserStack Automate session before running the test, otherwise it is skipped.
36
+
The following example shows a custom [xUnit.net](https://xunit.github.io/)`[Fact]` that checks for an available BrowserStack Automate session before running the test, otherwise it is skipped.
37
37
38
38
```csharp
39
39
namespaceMyApp.Tests;
40
40
41
-
usingSystem;
42
-
usingSystem.Configuration;
43
41
usingMartinCostello.BrowserStack.Automate;
44
42
usingXunit;
45
43
@@ -48,16 +46,23 @@ public sealed class RequiresBrowserStackAutomateAttribute : FactAttribute
0 commit comments