I have an ant build file that contains a JUnit test suite that I would like to execute. Currently, I just right-click and run the build file from Eclipse.
I want to write java code that can automatically execute the ant build file. So I just run the code and ant will execute.
Secondly, I want to record the test result. The result is currently based on a JUnit HTML report. I want to make my own simple test report. I read that there is a JUnitResultFormatter, but I cannot find step by step how to use it. Can someone point me a link?
source
share