Comparing test results

Comparing the results of two test runs is useful in tracking and debugging new and existing issues in the AUT.

The results of a given test run can be saved to a repository and serve as a snapshot of the state of the AUT (or a subset of the functions of the AUT) at that specific point in time. Progress in the development cycle can thereafter be measured by comparing a recent test run with an archived test run.

A test results record for a given automation run has a Summary tab, which summarizes various aspects of the test, and a Result Details tab, which displays a detailed (line-by-line) log of the test execution. The information detailed in the test results is helpful for pinpointing test problems, but searching test results line-by-line for clues is time-consuming, especially when comparing multiple test results.

Test summaries, on the other hand, are succinct, and comparing one test summary with another can be done relatively quickly. That said, test summaries do not reveal anything about the nature of bugs. In fact, they can be misleading as an indicator of progress. For example, a test run on Tuesday might result in 15 failures while a Wednesday run ends with only 7 failures. By reading the summary, it may be tempting to conclude that 8 bugs have been fixed; in fact, there is no assurance of that. It is possible that the original 15 bugs were all resolved and 8 new bugs have been introduced. Test summaries do not tell you the seriousness of bugs either. An overall reduction in the number of bugs is no guaranty that the number of critical bugs has decreased.

TestArchitect offers two methods of comparing test results: Compare Results and Compare to Baseline Results. In both result comparison methods, TestArchitect shows the listing of comparison checkpoints in the current test results alongside the corresponding checkpoints from previous tests. This allows for a clear side-by-side comparison, enabling you to identify which bugs have been resolved, which bugs have not yet been addressed, and which new bugs have been introduced.

Baseline comparison

When comparing to a baseline result, you must designate a test result stored in the repository as a baseline, and this baseline must be the result from the same test module or the same test module variation. Only one test result can be designated at a time as the baseline for a given test module, but you can change the baseline at any time. All future runs of that test are then compared against this baseline. Each variation of a test is treated as a separate test module; therefore, each set of test variations can have its own baseline. For example, one baseline result for the test module Calculation can coexist alongside a separate baseline for Calculation {1.1}.
Note:
  • Baseline comparison for a given set of test variations is made against the baseline specific to that variation; if no such baseline exists, no baseline comparison can be made.
  • More than one baseline can be set. However, among test results belonging to a given test module, only one test result can be designate as the baseline at a time.

Comparison without baselining

You can compare two test results without having set a baseline, but both results must come from the same test module or the same test module variation. The test results may reside locally or in the repository. You must mark a test result to serve as the comparison basis before you can make the comparison. Only one comparison can be made at a time, hence, you would have to mark a test result each time you make a comparison.