DocumentCode
3197174
Title
Refinement and test case generation in Unifying Theory of Programming
Author
He, Ji-Feng
Author_Institution
East China Normal Univ., Shanghai
fYear
2008
fDate
Sept. 28 2008-Oct. 4 2008
Firstpage
6
Lastpage
6
Abstract
This talk presents a theory of testing that integrates into Hoare and Hepsilas Unifying Theory of Programming (UTP). We give test cases a denotational semantics by viewing them as specification predicates. This reformulation of test cases allows for relating test cases via refinement to specifications and programs. Having such a refinement order that integrates test cases, we develop a testing theory for fault-based testing. Fault-based testing uses test data designed to demonstrate the absence of a set of pre-specified faults. A well-known fault-based technique is mutation testing. In mutation testing, first, faults are injected into a program by altering (mutating) its source code. Then, test cases that can detect these errors are designed. The assumption is that other faults will be caught, too. We apply the mutation technique to both specifications and programs. Using our theory of testing, two new test case generation laws for detecting injected (anticipated) faults are presented: one is based on the semantic level of design specifications, the other on the algebraic properties of a programming language.
Keywords
program testing; programming languages; denotational semantics; design specifications; fault-based technique; fault-based testing; mutation testing; programming language; programming unifying theory; test case generation; Collaboration; Computer languages; Electronics industry; Fault detection; Genetic mutations; Helium; Joining processes; Mathematical model; Mathematical programming; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, 2008. ICSM 2008. IEEE International Conference on
Conference_Location
Beijing
ISSN
1063-6773
Print_ISBN
978-1-4244-2613-3
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2008.4658048
Filename
4658048
Link To Document