I googled about this question. The results I found suggested that I need to run a maven/ant build to generate the xml.
My project is an Maven & TestNG project. But while debugging we use the option 'Run as TestNG Suite' in eclipse.
I have added the following code to my testng.xml.
<listeners>
<listener class-name="ru.yandex.qatools.allure.testng.AllureTestListener" />
</listeners>
This generates the UUID-testsuite.xml in project\target\site\allure-maven-plugin\data directory, but the report just contains the suite title and no other data is displayed.
I understand that in order to make @Step and @Attachment annotations work we need to correctly enable AspectJ in configuration. I am not sure how to do this in testng.xml file.
Please let me know, if I am missing something here.