DocumentCode :
3343048
Title :
Test case design based on Z and the classification-tree method
Author :
Singh, Harbhajan ; Conrad, Mirko ; Sadeghipour, Sadegh
Author_Institution :
Syst. Technol. Res., Daimler-Benz AG, Berlin, Germany
fYear :
1997
fDate :
12-14 Nov. 1997
Firstpage :
81
Lastpage :
90
Abstract :
Software testing often consumes up to 50 percent of the overall software costs. A large amount of time and money within the test process is spent due to incomplete, inconsistent or ambiguous informal specifications of the test objects. A more formal approach to the early phases of software development can reduce the error rate drastically and in addition, can significantly improve the central testing activities like test case design and test evaluation. This paper presents an approach for generating test cases from formal specifications written in Z by combining the classification-tree method for partition testing with the disjunctive normal form approach. Firstly, a classification tree describing high level test cases is constructed from the formal specification of the test object. Then the high level test cases are further refined by generating a disjunctive normal form for them. The refined test cases obtained this way cover all specified aspects of the system explicitly and also contain all information necessary to evaluate the test results. The proposed combination of the classification-tree method with the disjunctive normal form approach preserves advantages of both methods, overcomes most of their limitations, and can be supported by tools.
Keywords :
formal logic; formal specification; program debugging; program testing; software cost estimation; software tools; specification languages; trees (mathematics); Z language; ambiguous informal specifications; classification-tree method; disjunctive normal form approach; error rate; formal approach; formal specifications; high level test cases; partition testing; software costs; software development; software testing; software tools; test case design; test evaluation; time; Computer aided software engineering; Computer errors; Concrete; Costs; Error analysis; Error correction; Formal specifications; Software safety; Software testing; System testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Formal Engineering Methods., 1997. Proceedings., First IEEE International Conference on
Conference_Location :
Hiroshima, Japan
Print_ISBN :
0-8186-8002-4
Type :
conf
DOI :
10.1109/ICFEM.1997.630406
Filename :
630406
Link To Document :
بازگشت