Defects: Introduction - TestRail

Defects: Introduction

TestRail can be integrated with almost any web-based and desktop-based bug tracking and project management tools, even custom solutions. After configuring the web address of your bug tracker in TestRail, you are able to link tests and test results to bugs and issues stored in your tool of choice. You can also select a defect plugin to add the capability to push and look up defects directly from TestRail.

We generally recommend integrating TestRail with your bug tracker, as it improves the testers’ workflow and makes it easy to track bugs that have been entered during test execution. The integration with bug trackers and other external tools can be configured globally or on a per-project basis. This means that you can use different tools for different projects or you can specify a global tool for all your projects in TestRail.

TestRail supports two integration mechanisms for bug trackers, namely defect URLs and defect plugins. Please see below for details on the different integration mechanisms.

Defect URLs

Defect URLs are an easy and universal way to link TestRail to bug trackers and project management tools. Once the defect URLs have been configured, TestRail allows you to jump to your bug tracker’s New Bug page to enter new bug reports. Entered defect IDs are also automatically linked to your bug tracker to make it easy to track and follow the status of reported issues. Learn more here.

Defect plugins

Defect plugins can be used to implement a more sophisticated bug tracker integration in addition to configuring the defect URLs mentioned above. Defect plugins allow you to push bug reports directly from TestRail to your bug tracker or look up information about bug reports from TestRail’s user interface. Learn more here.