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

Percentage passed is incorrect in some cases


#1

We have many test cases associated with a particular milestone, and we have nearly completed the testing. Nearly, but not 100%.

There are 924 test cases associated with the milestone. 1 is untested and 2 tests failed.

On the main Milestone page, the percentage passed is displayed as 100%. It appears as though the value is being rounded up.

This rounding will work fine for us in all cases except when the percentage is between 99 and 100. In that case, I would prefer that the % remain at 99 until all tests have actually passed.

Thanks,
Travis


#2

Hello Travis,

Thanks for your posting. This was changed recently and the latest version of TestRail (3.0.4) now uses the approach you suggest, i.e. not showing 100% if not all tests passed. Previous versions have simply rounded the numbers and you would have seen 100%. Which TestRail version do you currently use?

Regards,
Tobias


#3

OK - thank you. I’ll look for that when we upgrade.

I am currently using 3.0.2.3070.

Travis


#4

You are welcome, Travis, and please let me know in case you have any further questions.

Regards,
Tobias