Hi,
I'm using NUnit 3.4.1 and Autofixture 3.49.0 to write parameterized tests such as this one:
[Theory]
[InlineAutoData(1)]
[InlineAutoData(2)]
public void Test(int someStableParameter,int someRandomParameter)
{
Assert.AreNotEqual(0,someParameter);
}
The problem is that NCrunch (2.23.0.2) always marks tests like these as "new". This causes existing tests to be marked as dirty all time, and it also makes the feature to pin new tests automatically useless since parameterized tests are always pinned.
Apparently the issue is that NCrunch assigns the test names such as Test(1,<randomValue>) and uses the same name determine if the test is new or not.
Is this a bug, or am I doing something wrong?
If it is a bug: Is there any workaround I could use?
Thanks,
Adrian