Can I write 'parameterized' tests in DUnit
I am using DUnit to test a Delphi library. I sometimes run into cases, where i write several very similar tests to check multiple inputs to a function. Is there a way to write (something resembling) a parameterized test in DUnit? For instance specifying an input and expected output to a suitable test procedure, then running the test suite and getting feedback on which of the multiple runs of the test failed? (Edit: an example) For example, suppose I had two tests like this: procedure TestMyCode_WithInput2_Returns4(); var Sut: TMyClass; Result: Integer; begin // Arrange: Sut := TMyClass.Create;