<target name="run" depends="compile, gendoc" description="Execute Selenium Tests">
<testng classpath="${test.classpath}:${test.dest}" suitename="Selenium_Tests" outputdir="${test.report}" workingdir="${test.report}"
useDefaultListeners="true"
listeners="org.uncommons.reportng.HTMLReporter,
org.uncommons.reportng.JUnitXMLReporter">
<jvmarg value="-javaagent:${ivy.lib.dir}/aspectjweaver-${aspectj.version}.jar"/>
<xmlfileset dir="." includes="testng.xml"/>
</testng>
<copy todir="${test.report-dir}">
<fileset dir="${test.report}"/>
</copy></target>
The above code i have for generating the allure report and running my tests, It runs and generates a folder within reports - Allure-Results which contains JSON files. see below screenshot
And from Allure command line i am trying to open the report but it always says
allure generate report report does not exists Report successfully generated to allure-report