Make your Xunit test methods self-determine to report a "skipped" result. Useful for such cases as "not supported on this platform" results or other environmental inputs.
Support Xunit.SkippableFact.
public void ConfigureServices(IServiceCollection services)
{
services.AddStaFactSupport();
}
Not support:
1. ITestOutputHelperAccessor.Output is alway null. so, ILogger can't output to xunit output.
2. Can't inject ITestOutputHelper
3. [MethodData]