Rank: Member
Groups: Registered
Joined: 4/19/2014(UTC) Posts: 17 Location: United Kingdom
Thanks: 9 times Was thanked: 2 time(s) in 2 post(s)
|
The following code works fine from Visual Studio Test Explorer but NCrunch displays an error: Quote:Type mismatch on test parameter 2 (parameter should not be null) Code:
[TestClass]
public class UnitTest1
{
[DataTestMethod]
[DataRow(new[] { "a", "b", "c" }, null)]
public void TestMethod1(string[] data, string[] moredata)
{
}
}
I have set Framework utilisation type for MSTest to UseDynamicAnalysis
|