I'm using NUnit as my underlying unit testing library and I have tests marked with the attributes TestCase and Explicit. When running the test fixture, those tests should not be run, they should only be executed manually.
Some sample code that reproduces the issue:
C#using NUnit.Framework;
namespace G1.Sample.Tests
{
[TestFixture]
public class SampleTests
{
[Test]
public void FooTest()
{
Assert.True(true);
}
[Explicit]
[TestCase(1)]
[TestCase(2)]
public void BarTest(int value)
{
Assert.Fail("Should only be runnable manually!");
}
}
}
I'm using CodeRush 17.2.8, Visual Studio 2017 15.5.6, and NUnit 3.9