In my case found that the TestCaseSource has different number of argument than the parameter in test method.
[Test, TestCaseSource("DivideCases")]
public void DivideTest(int n, int d, int q)
{
Assert.AreEqual( q, n / d );
}
static object[] DivideCases =
{
new object[] { 12, 3 },
new object[] { 12, 2 },
new object[] { 12, 4 }
};
Here each object array in DivideCases has two item which should be 3 as DivideTest method has 3 parameter.