Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

How to calculate Initial Quality?


#1

My company has a metric to calculate Initial Quality of a feature. It’s calculated by finding the pass percentage of the first 20% of test cases executed in a Testrun. This is very useful as an indicator to let you know how good a feature development is. Is there way to do this in Testrail?


#2

Hi Vinh,

Thanks for your posting! There’s no built-in report for this metric but you can always use the exports to create your custom reports outside of TestRail (e.g. CSV/XML) and many teams use this to generate custom metrics. An alternative would be to use the API and there’s a get_results_for_run API method which returns the test results for a test run.

Cheers,
Tobias


#3

Hi Tobias,

I am new to Test Rail and looking for more info to “get_results_for_run” per Vinh’s description above. Where can I get more information regarding the use of API?

Michael


#4

Hi Michael,

Thank you for your post. You can find full documentation for the TestRail API here:

http://docs.gurock.com/testrail-api2/start

Please let us know if you have any specific questions regarding the API.