Some special tests require special conditions so we have to ignore them in the CI test. So we can add [IgnoreOnCIFact] or [IgnoreOnCITheory] attribute to specified tests to bypass.
using Juice.XUnit;
public class EFTest
{
[IgnoreOnCIFact(TestPriority(99)]
public async Task Shoud_run_first()
{
}
[IgnoreOnCITheory(TestPriority(98)]
[InlineData("SqlServer")]
[InlineData("PostgreSQL")]
public async Task Shoud_run_second(string provider)
{
}
}
The library can be accessed via Nuget: