Forum Discussion

Goda_zu's avatar
Goda_zu
New Contributor
4 years ago
Solved

How to send test results to Jira in one patch (not each test case separetely)?

I am using TestComplete integration with Zephyr for Jira (https://support.smartbear.com/testcomplete/docs/working-with/integration/zephyr/index.html) to send test results, but results are sent after each test case is executed and in this way, the test execution time increases twice.
Any ideas, if it is possible to modify integration so test results would be sent only once after the test is finished?

Thanks

  • have you checked out the ATOM beta for agent based "executions" of your testcomplete tests?

    https://zephyrdocs.atlassian.net/wiki/spaces/ZFJCLOUD/pages/1234960420/A.T.O.M

    the gist is that you can configure a Zephyr for JIRA agent (called zbot) on the machine that will be carrying out your test executions (either via testcomplete or test execute), and instead of reporting to zephyr for jira on a per testcase basis, you could just generate a junit xml format results file to a specified directory on your machine (you could do this by including a short script as its own test item at the project level using the log.saveresultsas method, or you could use commandline arguments when you execute using /ExportSummary) 

    After that you could point your zbot (for Zephyr for JIRA) to that specified results path so that it can find, parse, and push the results of your test runs in one "batch".

2 Replies

  • have you checked out the ATOM beta for agent based "executions" of your testcomplete tests?

    https://zephyrdocs.atlassian.net/wiki/spaces/ZFJCLOUD/pages/1234960420/A.T.O.M

    the gist is that you can configure a Zephyr for JIRA agent (called zbot) on the machine that will be carrying out your test executions (either via testcomplete or test execute), and instead of reporting to zephyr for jira on a per testcase basis, you could just generate a junit xml format results file to a specified directory on your machine (you could do this by including a short script as its own test item at the project level using the log.saveresultsas method, or you could use commandline arguments when you execute using /ExportSummary) 

    After that you could point your zbot (for Zephyr for JIRA) to that specified results path so that it can find, parse, and push the results of your test runs in one "batch".

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Thank you for great advice Justin!

       

      Goda_zu have you tried what's suggested?