Title :
The Support of Interface Specifications in Black-box Components Testing
Author :
Jiang, Ying ; Li, Ying-Na ; Fu, Xiao-Dong
Author_Institution :
Fac. of Inf. Eng. & Autom., Kunming Univ. of Sci. & Technol., Kunming, China
Abstract :
The adequate testing of black-box components is an important basis before they will be reused in the approach of Component Based Software Development. The test-data generation and test adequacy ensuring are difficult issues for the unavailability of the source code of black-box components. In this paper, an extended component interface specification model is proposed to support the component understanding, testing and reuse. Then the function of different kinds of specification elements in testing is defined. Based on the syntactic and semantic specifications, the proposed test-data generation method can produce test suite meeting a certain mutation score, which is viewed as a kind of effective test adequacy criterion. Finally, some experiments were carried and the results have shown that the different kinds of specification can support the testing of black-box components.
Keywords :
object-oriented programming; program testing; programming language semantics; software quality; software reusability; black-box component testing; component based software development; component interface specification model; component reuse; interface specification support; semantic specification; test adequacy; test-data generation; Contracts; Object oriented modeling; Semantics; Software; Syntactics; Testing; Web services; black-box component; interface specification model; test method;
Conference_Titel :
Frontier of Computer Science and Technology (FCST), 2010 Fifth International Conference on
Conference_Location :
Changchun, Jilin Province
Print_ISBN :
978-1-4244-7779-1
DOI :
10.1109/FCST.2010.64