TestNG XML File Creation For Each .Java File


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


Comment actions Permalink

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

Comment actions Permalink

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


Please sign in to leave a comment.