I have different
Test cases that need to be run. They are all of similar nature, except for the input and the expected output. See example below:
I do want different TestCases to be available for different sets of input, but I want to avoid duplicating the test case code. I am looking at something like generating a different test case automatically for each set of input. Does
JUnit offer something like this ? Any pointers will be appreciated. Thanks.