Skip not working in ConditionalFact and ConditionalTheory
cesarblum opened this issue · 0 comments
cesarblum commented
public class MyTests
{
[Fact(Skip = "Skipped")]
public void SkippedFact()
{
}
[ConditionalFact(Skip = "Skipped")]
public void SkippedConditionalFact()
{
}
[Theory(Skip = "Skipped")]
public void SkippedTheory()
{
}
[ConditionalTheory(Skip = "Skipped")]
public void SkippedConditionalTheory()
{
}
}
Output:
...
Microsoft.AspNetCore.Server.KestrelTests.MyTests.SkippedFact [SKIP]
Skipped.
Microsoft.AspNetCore.Server.KestrelTests.MyTests.SkippedTheory [SKIP]
Skipped.
...