We have a program that that we would like to do acceptance tests on it.
The input is an XML file with different "tasks".
The output is another XML file with results.
What would be the best practice to automate acceptance tests for it?
We will probably have to store pairs of input and output files, run the program on the inputs and compare result to the provided outputs.
Is Ant good for this task?
Should the acceptance tests cover all corner cases, or only test that the functionality is in general working.
Any other tips regarding acceptance tests in java would be appreciated.
Some general tips
I think that XMLUnit can do diffing of XML files http://xmlunit.sourceforge.net/