Class WindowsFactAttribute
This custom XUnit Fact attribute will skip unit tests if the run-time environment is not windows
Note that the original Skip property takes precedence over this attribute, any unit tests with WindowsFactAttribute with its Skip property set will always be skipped, regardless of the environment variable content.
Inherited Members
FactAttribute.DisplayName
FactAttribute.Timeout
Namespace: Akka.TestKit.Xunit2.Attributes
Assembly: Akka.TestKit.Xunit2.dll
Syntax
public class WindowsFactAttribute : FactAttribute
Properties
| Edit this page View SourceSkip
Marks the test so that it will not be run, and gets or sets the skip reason
Declaration
public override string? Skip { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Xunit.FactAttribute.Skip
|
Edit this page
View Source
SkipUnix
The reason why this unit test is being skipped by the WindowsFactAttribute. Note that the original Skip property takes precedence over this message.
Declaration
public string? SkipUnix { get; set; }
Property Value
Type | Description |
---|---|
string |