This article is featured in Software Testing Notes Issue #231.
Many different key metrics are often used to describe end-to-end UI test automation. In this article, I’ll break down which stats actually matter for your tests.
Guiding Rule: All stats (that matter) must be easily visible on test reports and test history. You shouldn’t need to spend extra effort to get them. To provide rapid feedback, an automated regression suite should be executed frequently (multiple times per day). So, it does not make sense to have someone manually analyse and prepare an updated report after each run.
1. Number of User-Story-Level Tests
The primary purpose of an end-to-end UI test is to validate a user story. Each test should cover a distinct user story (e.g. booking a one-way flight, booking a return flight, etc.). These tests represent the full end-to-end journey and are critical for regression testing.
Tracking this metric is important, as the total number of story-level tests should correspond to your application’s actual user scenario coverage.
2. Total Test Execution Time
Unlike unit tests, end-to-end (via UI) tests are slow, and there is not much (which means, still is, check out this article) test engineers can do to speed up the test execution. However, the team expects quick feedback from the regression testing: “Did recent check-ins introduce any regression errors?”
While we cannot easily reduce individual test execution time (for a well-written test), we can reduce the overall execution and feedback time. Let’s see the overall test execution time of the two regression suites for my father’s two web apps.


Without the infrastructure to run tests in parallel, sequential execution would take hours, drastically reducing the effectiveness of your suite.
3. Average Pass Rate
This metric is straightforward. How often does your entire test suite pass? When a suite fails, it is critical to determine the root cause: Was it a legitimate application defect, or a false alarm triggered by a flaky script or timeout issue?

You cannot expect your tests to pass 100% of the time; there are many valid reasons when a test suite would fail; discovering regression errors is why the tests exist after all. To get an accurate picture of suite health, you should track your true failure rate against your false alarm rate.
4. False Alarms
False alarms in test automation mean test failures are due to either testing infrastructure or test scripts, not real application errors. For example, in the build below, there were 12 false alarms, simply because the chromedriver version was out of date for the auto-updated Chrome browser.

False alarms should not be reported to the developers, as it will reduce their trust in the test automation. BuildWise CT has the ability to automatically retry a failed test on a different machine, to avoid specific issues with a bad test machine and mitigate one-off flaky issues. Any retried test that passed is marked as a “false alarm”. False alarm rates shows the reliability of your testing infrastructure and the quality of automated test scripts.
5. Time Since Last Successful Run
The ideal answer is “today or yesterday”. However, a more common answer for many software projects was “3 months ago”. Of course, the test automation effort has failed in those projects if the suite stays broken for that long.
Defects will inevitably be introduced, so test failures are expected. Automated tests (running on the CT server) should surface these defects much quicker, so it should return to green quickly.
Commonly used but does-not-matter Stats
The coverage of business features
This is different to the number of user stories. The point of E2E tests is to cover a user journey — it’s black box testing. The actual features implemented are not the most important. Features should be covered naturally as part of the user story — not be the focus.
Over-emphasizing business features often leads to redundant tests that bloat execution times and maintenance effort without adding unique value.Percentage of completion against a projected test count
I have heard of software teams that come up with a list of potential tests, and compare the number of tests that have been implemented against that list. This is meant to encourage test coverage/creating more tests, however, it’s not a useful metric to evaluate a test suite against. Test creation should be driven by actual software needs, not by an arbitrary predictive milestone.
Related reading:
My books:
- Web Test Automation in Action: Volume 1
- Effective Web Test Automation with Selenium WebDriver and JUnit




