Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > SpiraTeam Issues & Questi... > TestNG integration with S...
I am working on an integration of my automation tests with SpiraTeam. I managed to make it work up until the point where Eclipse reports the results back to SpiraTeam. I followed this documentation to integrate the tests with SpiraTeam: https://www.inflectra.com/Documents/SpiraTest-Team%20Automated%20Testing%20Integration%20Guide.pdf. I used @SpiraTestCase on every method, just like in the documentation. But this basically passes my test 12 times if I have 12 methods. I have one question, though. Is there any way I can pass the test once, and report every method to a SpiraTeam test case step ID?
So basically it would be one method per step in SpiraTeam. I don't want the methods to send the results back to @SpiraTestCase, I need something like @SpiraTestStep. Is there any way this can be done?
Thanks a lot!
That is not possible with the TestNG listener that we have currently I'm afraid.
However we do have the source code available on GitHub - https://github.com/Inflectra/spira-testng
If you'd like to fork the code and modify it to better suit your needs.
Thanks for the reply, Adam!
This is good news as well, I did the best I could. I'll try to make something work with the code. Thanks again!