Specification-Based Class Testing – A Case Study
International Journal of Recent Engineering Science (IJRES) | |
|
© 2014 by IJRES Journal | ||
Volume-1 Issue-3 |
||
Year of Publication : 2014 | ||
Authors : P.Kadambari, Dr.S.Prabu Anand |
||
DOI : 10.14445/23497157/IJRES-V1I3P103 |
How to Cite?
P.Kadambari, Dr.S.Prabu Anand, "Specification-Based Class Testing – A Case Study," International Journal of Recent Engineering Science, vol. 1, no. 3, pp. 10-15, 2014. Crossref, https://doi.org/10.14445/23497157/IJRES-V1I3P103
Abstract
Class testing is considered as the sole of the object-oriented software testing. In class testing we test each method, test relations among methods and tests inherit properties between every class and subclass. In specification-based testing we are mainly concerned about generating test cases from the specifications of the class. We never bother about testing the whole class at a time. It is not easy to manage the process of testing the class and to unify the test cases conveniently and consistently. In this paper, we will work how to give a structure to the test cases of the methods of a particular class under test. As per the given class specification, we will define the test cases and test suites. The paper will help in drawing the test cases and their further testing. We are using a new notation Object –Z to draw the structure and class specification
Keywords
Class Testing, Structure and specification.
Reference
[1] IEEE Std. 829-1998.
[2] Boris Beizer. Software Testing Techniques, Van Nostrand Reinhold, New York, 2nd ed., 1990.
[3] Robert V. Binder: Testing Object-Oriented System: Models, Patterns and tools. Addison Wesley Longman, Inc. 2000.
[4] Grame Smith, The Object-Z Specification Language, Kluwer Academic Publishers, 2000, America.