ant-junit

Empty Ant <junitreport> report for SoapUI testrunner XML results

一笑奈何 提交于 2019-12-24 09:16:32
问题 I am running a SoapUI project using Ant to get a JUnit report. Here is my build.xml: <project basedir="." default="testreport" name="APIAutomation"> <target name="SoapUI"> <exec dir="." executable="C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\bin\testrunner.bat"> <arg line="-r -j -a -f 'C:\Users\F3020722\Desktop\Notification\New folder' -sFirstLoginTest 'C:\Users\F3020722\Desktop\Notification\New folder\APIRegression.xml'"></arg> </exec> </target> <target name="testreport" depends="SoapUI">

ClassNotFoundException - when running ant-junit

半世苍凉 提交于 2019-12-13 04:55:50
问题 I'm trying to create a Proof of concept for the actual application, The task is to run ant-junit tests without adding stuff to the global environment. I've achieved it so far in ant, but, I'm stuck with the following exception. ClassTest.java is the java class that has sample unit testcase. (Junit 3.0 style). I'm not sure why ant-junit does not find the class inspite of mentioning the paths in the batchrun task. project structure I get the following exception when running ant-junit task.