Did not seem like a suitable question for stackoverflow so here it is.
I have bunch of text input files which provided input as well as expected output for set of programs. One line is one combination of input+expected result (one unit test in a way)
I have written one testcase which reads these files, runs the program and then asserts validity of results.
Problem is -
When I run the unit test, it stops at first failure, of course. Even though practically it is bunch of unit tests I am writing, code wise it is a single unit test and hence on first failure it halts. How do I get around this? Is there a better way to write this sort of thing? I cant hard code all inputs and expected values as lot of them are created by mechanical turkers.
I thought about writing a small utility which will generated junit cases ie code , but it did not seems like a correct way.
Thank in advances for any inputs.
~Sushrut
simplifying shopping