Class ProtoTestFactAttribute

Namespace
ProtoTest.Xunit
Assembly
ProtoTest.Xunit.dll

An xUnit v2 fact that runs inside a ProtoTest execution context and records the test's real outcome. Use it instead of [Fact]; no separate [ProtoTest] attribute is needed.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
[XunitTestCaseDiscoverer("ProtoTest.Xunit.Sdk.ProtoTestFactDiscoverer", "ProtoTest.Xunit")]
public class ProtoTestFactAttribute : FactAttribute
Inheritance
FactAttribute
ProtoTestFactAttribute
Inherited Members
FactAttribute.DisplayName
FactAttribute.Skip
FactAttribute.Timeout
Extension Methods