Hi, I have following situation: So, the NCrunch icon on Visual Studio is idle and it says "NCrunch engine is idle". The Tests window also shows like it is not doing anything. Still, part of the tests show as they would still be running. Any ideas?
At least one of the MSTest tests in this solution contains some strange parameter data in an array. This is probably using a custom DataRow. Are you able to narrow down which test is responsible? If you can get me the declaration of the test (with its attributes), I should be able to help troubleshoot further.
[TestClass]
public class StringHelperTest
{
[TestMethod]
public void StringToArray_Value_Not_Valid_Should_Return_Exception()
{
var ex = Assert.ThrowsException<ArgumentException>(() => StringHelper.StringToArray(null, null));
Assert.IsTrue(ex.Message.Contains(ErrorStrings.Value_cannot_be_null_or_empty));
}
[DataTestMethod]
[DataRow(null)]
[DataRow(new char[] { })]
public void StringToArray_DelimitersChars_Not_Valid_Should_Return_Exception(char[] argument)
{
var ex = Assert.ThrowsException<ArgumentException>(() => StringHelper.StringToArray("asdf", argument));
Assert.IsTrue(ex.Message.Contains(ErrorStrings.Value_cannot_be_null_or_empty));
}
}
I have yet to find more about this, but do you spot anything weird right now?