Skip to content

eajazali87/remove-config-nodes-in-testng-reports-xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

remove-config-nodes-in-testng-reports-xml

Remove config nodes in testng-reports.xml

  • The TestNgXMLUpdater program implements an logic that does the below operations:
  • Remove <test-method> nodes where status = "Skip"
  • Remove <test-method> nodes where the name does not end in "Test". This removes things like beforeClass, afterClass, etc.
  • In each <test-method> node, append a unique number [1],[2],[3], etc. to each name attribute. This forces ALM to bring these in a separate tests, otherwise ALM will bring these in as different runs for the same test

#####NOTE: You could pass a specific node and modify the IF condition according to your requirement.

About

Modify testng-reports.xml.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages