

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Professor: Basili; Subject: Computer Science; University: University of Maryland; Term: Fall 2001;
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Assignment 5
November 26 2001 Due December 5, 2001
A major software development organization has decided to use a new unit test technique. The idea is that all code will be submitted to a library along with its specification and tested according to that specification. The tests will be made up using equivalence partitioning, based upon the specification. They will then measure the coverage of the test set to evaluate the quality of the tests.
Part 1 (12 points)
They want to evaluate the technique during the training course and improve it based upon what they have learned. Design an experiment that will allow them to evaluate the process in a classroom situation and learn enough to make improvements in its feasibility and effectiveness.
You should write a GQM evaluation goal (use the GQM template), give a specific, detailed evaluation model that they could implement and learn from (they care about cost and effectiveness of the technique), and give an experimental design, pointing out the major threats to validity of the design.
Part 2 (13 points)
Then they want to study it on a real application. They are open to options, e.g., use it on half of the project but not the other half. They have data from prior projects on the number of faults and failures found during unit test, system test, and acceptance test..
You should write a GQM evaluation goal (use the GQM template), give a specific, detailed evaluation model that they could implement and learn from, and give a study design, pointing out the major threats to the design.
You must limit yourself to a MAXIMUM of 4 pages, 12 size times font.
Equivalence Partitioning
Ideal Criterion: Divide the input domain into a set of equivalence classes such that if a test in an equivalence class succeeds, then every test in that class will succeed
Practical Criterion: Put inputs for which the behavior pattern is specified to be different into separate groups and regard these groups as forming equivalence classes.
Test case design by equivalence partitioning involves
Identify the equivalence classes take each input condition and partition it into two or more groups valid equivalence classes (vec) represent valid inputs to the program invalid equivalence classes (iec) represent erroneous input values Record the classes in a table as follows:
External Condition Valid Equivalence Classes Invalid Equivalence Classes
Given an input or external condition, identifying the equivalence classes is a heuristic process.
Some guidelines for identifying equivalence classes are:
Identifying test cases