Thread

Skip Navigation LinksForums > SpiraTest Forums > SpiraTest Issues & Questi... > TestNG integration

TestNG integration RSS Feed

Monday, September 12, 2011
What version of TestNG does SpiraTest v3.0 support?
I am trying to integrate TestNG scripts with SpiraTest and running into issues. I followed the steps outlined in "Automated Unit Testing" guide. But when i run the automated test from my Eclipse, it fails to report the results in SpiraTeam. I get this in Eclipse Console:

Starting test run...

Test run finished with 0 Failures.

0 test results were successfully transmitted to SpiraTest (0 errors).

I am using TestNG 5.14.1.

Is there a step by step guide which explains how to setup the testcase in SpiraTeam UI so that its execution status will get updated when the corresponding testng script is run from an IDE like Eclipse?

Thanks!
2 Replies
Adam SAdam S
re: SpiraTest User on Monday, September 12, 2011
Thursday, September 15, 2011
It should work with all the recent versions.
Adam SAdam S
re: Adam S on Thursday, September 15, 2011
Thursday, September 15, 2011

You need to make sure that the Eclipse TestNG configuration has the SpiraTest listener added. You also need to make sure that all the attributes are appropriately added to the test methods.

Have you tried:

  1. Executing the sample tests that come with the plugin
  2. Running the TestNG test fixture from the command-line and not through Eclipse.

Do either of these cases work? 

Tagged
Statistics
  • Started: 9/12/2011
  • Last Reply: 9/15/2011
  • Replies: 2
  • Views: 762
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.