Custom Search

Tuesday, July 28, 2009

Test Matices Sample

You can measure the arrival and departure times of developers, if you have them clock in, but that won't tell you much since not all work is done in the office (and it doesn't mean that they're working when they're in the office). This is, however, still a metric.

The same holds for a true "quality metric". The most familiar one is defects per thousand lines of (uncommented) code. But this metric assumes that:
1) you count the lines of code
2) the complexity of the code isn't an issue
3) the programmers aren't playing games (like using continuance characters
so that what could have been written in one line isn't done in five lines)
4) all defects are uncovered in the code in a single pass
5) each defect discovered is all others
6) defects are uncovered in a linear manner between revisions or builds

The fact is that first you need to know what your goal is. Then you need to
discover or create a metric that will help you achieve that goal. Then you
need to implement it and be prepared to adjust it.

You can't use measurements (metrics) to find faults, at least not in software, so that's not a reasonable goal. You can use metrics to help determine if most of the defects have been discovered already. You can use them to tell you how much longer it will take to uncover a reasonable amount of defects. For either of these metrics you will need to know how previous projects of similar size and complexity (using similar languages, etc.) were done in order to get a reasonable comparison.


Posted by Walter Gorlitz

Test Case: File Open #

Test
Description

Test Cases/ Samples

Pass/
Fail

No. of
Bugs

Bug#

Comments

N/A

Setup for [Product Name] setup

-

-

-

1.1

Test that file types supported by the program can be opened

1.1

P/F

#

#

1.2

Verify all the different ways to open file (mouse, keyboard and accelerated keys)

1.2

P/F

#

#

1.3

Verify files can be open from the local drives as well as network

1.3

P/F

#

#




NOTE: This is only a sample of a Test Matrices based on editor application. In real environments your Case's contents and layout most likely will be different, depends on your project and company requirements.