Coding, Software Development, Java, Scala, Agile.
Convert.ToInt32(TestContext.DataRow["Sum"]); int actual = target.IntegerMethod(x, y); Assert.AreEqual(expected, actual, "x:<{0}> y:<{1}>", new object[] {x, y}); } The data source is a table with three columns: Two input values and the expected result. This doesn’t give you randomly-generated data