I'm running a NUnit test over a list of numbers.
My code goes something like this:
numbers = GetListOfNumbers()
foreach number in numbers
Assert.IsTrue(TestNumber(number))
My problem is that NUnit will stop the test on the first number it encounters that doesn't pass the test.
Is there anyway to make NUnit still fail the test if any numbers don't pass, but give me the list of all numbers that don't pass?