TestNG XML File Creation For Each .Java File

Answered

Hello ,

eclipse is generating separate xml file for each .java file, why intellij idea not supporting this ?

example .

If have abc.java , xyz.java ................... xxx.java

then eclipse will generate individual xml file   abc.xml , xyz.xml , ..........................xxx.xml

 

0
3 comments

Can you describe the exact flaw in Eclipse to generate different testng xmls?
Do you have java files in different modules, or do you generate separate xml files for separate test classes in one module?
What is your usage for different xml files?

You can refer to this guide regarding usage of TestNG in IDEA: https://www.jetbrains.com/help/idea/creating-testng-test-classes.html

1

I have separate class files in one module. and i want to generate separate xml file for each class file

0

Please sign in to leave a comment.