(In VS and C#)
I want to run ONE Unit test for like 10 Times. The Test is the same, but the Data should be different. It should be like with "[DataRow(10)]", but then its just ten, but i want to Test FROM ZERO TO TEN.
For Example:
[TestMethod]
Public void TestIfNumbersAreEqual()
{
Assert.AreEqual(1,1)
}
But i want to overdrive the Parameters from Zero to Ten. So there should be like 11 Tests.
What is the matched Attribut or what do i need?
Hope you understand this Problem. Could someone help me please, i cant get the right answer for this.
Thank you very much guys :)
(Im new in this Area, but in need this Solution very quick...)
Aucun commentaire:
Enregistrer un commentaire