I am trying to use ant to run junit tests and generate reports. I am able to successfully run the tests but the report files are empty.
What am I doing wrong ?
If you look at the ant snippet, there are a few issues:
usefile=false, which means no output file is createdformatter type=brief, which will print detailed information only for failed teststodir - the folder where the report has to go in the tag - the default is current folder. This should match the folder you are using in task.You can try with the following updated section...