By Robert Leitch on August 18, 2015
Our QA lead Julia has just written up a guide explaining how to pass automated test results to the Testy extension for Structure so you can keep automated and manual testing results in one place.
Manual testers can keep on manually testing in Testy while your automated tests push their results to the Structure API. The result - all your test results are consolidated for easy review in Testy.
Hooray for automation!
All you need to do is POST the test status as a JSON-formatted payload to the appropriate Structure REST API endpoint:
/rest/testy/1/run/<testRunID>/issue/<issueID>/status
Julia's article explains how to get the testRunID
(i.e. the ID of the Testy test run to which the results apply) and the issueID
(not to be confused with JIRA issue key).
You can add notes using the notes endpoint, for example to attach error messages to failed tests:
/rest/testy/1/run/<testRunID>/issue/<issueID>/notes
Existing notes will be overwritten. Sending an empty string will delete an existing note. Keep in mind that there is no history for test statuses and notes.
The application sending test statuses needs to authorise as a JIRA user with global permission to access Structure.
Now your manual and automated testers can collaborate seamlessly on their JIRA issues in Testy.
Hierarchical issues for great project management in Jira
Jira ClientDesktop client for Jira