Junit empty reports while running soapui testsuites using ant -
i trying run testsuite using ant, reporting using ant.
i did lot of tries unable reports. test suite running properly, junit report values 0.
my build xml file
<?xml version="1.0"?> <project basedir="." default="testreport" name="automation"> <property name="results.dir" value="d:/airline.com/ndc_automation/api/results"/> <property name="reports.dir" value="${results.dir}/reports"/> <property name="html.dir" value="${reports.dir}/html"/> <property name="proj.dir" value="d:/airline.com/ndc_automation/project/adc-ndc-sb8-soapui-project.xml"/> <target name="testsuite1"> <exec dir="." executable="d:/soapui-5.2.1/bin/testrunner.bat"> <arg line="-r -j -a -f ${results.dir} -sdac-3728 ${proj.dir}"/> </exec> </target> <target name="testreport" depends="testsuite1"> <mkdir dir="${reports.dir}"/> <junitreport todir="${reports.dir}"> <fileset dir="${results.dir}"> <include name="test-*.xml"/> </fileset> <report format="frames" todir="${html.dir}"> </report> </junitreport> </target> </project> i followed post stackoveflowthis post , followed steps mentioned in well. still junit report empty.
my tests-testsuites.xml
<?xml version="1.0" encoding="utf-8" ?> <testsuites /> is build file correct or have missed important tag ?
Comments
Post a Comment