Producing TestNG XML reports with custom attributes in gradle #3128
-
Hi, but I could not figure out how to achieve this using gradle test task with useTestNG() More detailed information on this I posted in gradle discsssion forms: I researched about this issue alot, and came across some old issues and your response in testng user group where it was suggested to create a custom gradle task, but I am more interested to see whether we can achieve this via plain gradle test task. Probably it is a gradle specific issue and limitation in gradle API to invoke TestNG, but I would still be interested to hear your opinion about any possibility. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@itkhanz - The TestNG team does not own the Gradle integration piece. So you would need to check this with the Gradle community. I think only the most common things are available out of the box via the Since Gradle allows you to define your own custom task, you should perhaps pursue that. |
Beta Was this translation helpful? Give feedback.
@itkhanz - The TestNG team does not own the Gradle integration piece. So you would need to check this with the Gradle community.
I think only the most common things are available out of the box via the
useTestNG {}
method parameter TestNGOptionsSince Gradle allows you to define your own custom task, you should perhaps pursue that.