One of the disadvantages of JUnit is that the test parameters are usually hard-coded into the JUnit test case. (Or at least in all the sample codes that is the way). For my purposes, I spent a few days to write my testcases to read from XML file. Tedious job, and not too elegant, but it works.
However, today I stumbled upon this framework that does what I want to do: JTestCase at http: http://jtestcase.sourceforge.net Might be spending some time to see whether it fits my needs.
11:37:28 PM
|