I am running a NUnit test on a list of numbers.
My code looks something like this:
numbers = GetListOfNumbers()
foreach number in numbers
Assert.IsTrue(TestNumber(number))
My problem is that NUnit will stop the test at the first number it encounters, which fails the test.
In any case, so that NUnit still doesn't check if any numbers fail, but give me a list of all the numbers that fail?
source
share