Integrations for Squish Test Center enable you to achieve traceability between test results stored in Squish Test Center and tests or requirements stored in 3rd-party management systems. These integrations also enable you to transfer and synchronize your test results between Squish Test Center and the supported 3rd-party management system. This enables you to view your test results within the supported management system.
Squish Test Center currently offers support for integrations with TestRail, JIRA, Zephyr, Xray and QAComplete, with more integrations to be added in the future. If your test or requirements management tool is missing, let us know in the comments section or via email@example.com.
Traceability essentially means being able to jump easily from one system to another by providing links between the two systems. To achieve that, Squish Test Center offers the Traceability View. This view enables you to see a list of the requirements or tests managed by the 3rd-party management system and the associated tests managed by Squish Test Center. You can use the Traceability View to get an overview of the tests and requirements coverage. Furthermore, the view provides links to the integrated system and provides a Requirements Traceability Matrix Export (RTM-Export).
Additionally, Squish Test Center can also add backlinks to the associated items within the integrated test or requirements management tool. This allows you to jump easily to the latest test results from your 3rd-party management tool. The backlinks are added as custom fields. For integrations where that is not possible, the backlink is appended to the item description.
Another of Squish Test Center’s core features is result synchronization. Squish Test Center can push the most recent test results for all associated tests and requirements to the 3rd-party management system. Since the feature set of the supported systems isn’t identical, pushing results differs slightly between implementations. For all management systems that support setting a test result (TestRail, Zephyr, Xray, QAComplete), we simply set the result. For Zephyr and Xray, we can also set a specific Release and Test Cycle, while for QAComplete we can set a Release and Configuration. For JIRA, we add the test status to the description and have the ability to open or close issues depending on whether the linked tests have passed or failed.
Issue or Test Creation
For JIRA, Zephyr and Xray, Issues or Test Items can be created directly from the Squish Test Center result view. If a test starts failing, this can be used to create an Issue ticket in the external system, so that the issue with the test can be tracked.
This feature can also be used to synchronize the test items managed by Squish Test Center with the test items managed by the 3rd-party test management system.
How the Integrations Work
Setup the Connection
To establish the connection between the test or requirements management tool, the integration needs to be activated in the Global Settings menu. Also, the server address and the authentication details need to be specified:
To be able to transfer your test results to an external system and to achieve traceability, the tests uploaded to Squish Test Center need to be linked to the requirements, issues or tests of the 3rd-party management system.
This is handled by the Traceability Mapping which is visualized at the center of the conceptual graphic below:
For the traceability mapping, the requirements, issues or test items are pulled from the 3rd-party system and stored in the Squish Test Center database. Once these are known to Squish Test Center, they can be mapped to the tests managed by Squish Test Center.
Squish Test Center offers some limited automatic mapping functionality that uses either the name of the 3rd-party item and matches it to the test item managed by Squish Test Center, or that reads the name of the associated test item from a custom field in the 3rd-party management tool. In most cases, however, we expect the names not to match and that there are no custom fields. For those cases, the mapping can be customized manually. Establishing the initial mapping will require some work, but we expect the mapping to require only moderate maintenance afterwards.
The fully custom manual mapping can be easily changed from the Traceability View:
Automate Result Synchronization
After the mapping has been established, you can start to push test results to your test or requirements management system. You can do this manually from Squish Test Center’s Traceability View, where you can push results or pull in tests or requirements at any time. But you can also automate pushing and pulling using the
testcentercmd utility which comes with Squish Test Center. Using the
testcentercmd utility, you can make pushing and pulling part of your test automation, and push results whenever new test results have been uploaded to Squish Test Center.
These features will guarantee a seamless integration with your existing test automation and reporting infrastructure.