Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Tools

Software Test Metrics


1. Keep It Simple

Simpler is almost always better when practically considering the resources and time it will take to capture the necessary data and when taking into account how meaningful the resulting value will be to the process improvement effort.

First, track the easy metrics. Most test analysts are required to know the number of test cases they will execute, the current state of each test case (executed/unexecuted, passed/failed/blocked, and so on) and the time and date of execution. This is basic information that should be tracked in some way by every test analyst. One way to ensure proper tracking is to simply formalize the process of gathering and tracking data that is already available. Additionally, the metrics should be objectively quantifiable and easy to understand. Metrics are easy to understand when they have clear, unambiguous definitions and explanations. Example 1 presents the definition and explanation of a "blocked" test case.

[Click image to view at full size]
Example 1

The metric in Example 1 defines the impact that known issues are having on the test team's ability to execute the remaining test cases. A "blocked" test is one that cannot be executed due to a known environmental problem. A test case is also blocked when a previously discovered system defect is known to cause test failure. Because of the potential delays involved, it is useful to know how many tests cannot be executed until program fixes are received and verified.

The definition and explanation in Example 1 are clearly intended to track unintentional blocks. They eliminate confusion as to whether or not these tests were intentionally blocked by the test analyst (that is, flagged so they will not be executed). This metric is also objectively quantifiable. Based on the definition, a test case can be counted as blocked or not, but not both. Also, by sticking to the definition and explanation, a test analyst cannot apply other subjective criteria that would allow a test case to be flagged as blocked.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.