Generic software testing system and mechanism
First Claim
1. A generic software testing system, provided for a distributed object-oriented system to perform a test, wherein said generic software testing system comprises:
- a test-plan wizard, generating test-plan execution codes and a test-result template in accordance with class-diagram related data and sequence-diagram related data;
a tested software unit/system, executing said test plan execution codes to generate a test result; and
a comparator, comparing said test result with said test-result template to generate a test report.
2 Assignments
0 Petitions
Accused Products
Abstract
A generic software testing system and mechanism is disclosed for use in distributed object-oriented systems. The present invention directly utilizes class diagrams (or interface definitions) and sequence diagrams to automatically generate the execution codes and test template required for testing the software system, wherein the class diagram data, the interface definition data and the sequence diagram data are generated by a software development tool of distributed object-oriented system. The present invention is applicable to the tests of a software system of which the functions and operations can be presented merely with class diagrams (or interface definitions) and sequence diagrams generated by the tools used during software development, wherein the software system can be as small as an individual unit (component) or module, or as large as an entire distributed object-oriented system. The present invention enables the software implementation and the software test planning to be performed at the same time. When the software implementation is done, the software test can be followed immediately to generate test results, so that the functions and performance of the software system can be evaluated.
116 Citations
22 Claims
-
1. A generic software testing system, provided for a distributed object-oriented system to perform a test, wherein said generic software testing system comprises:
-
a test-plan wizard, generating test-plan execution codes and a test-result template in accordance with class-diagram related data and sequence-diagram related data;
a tested software unit/system, executing said test plan execution codes to generate a test result; and
a comparator, comparing said test result with said test-result template to generate a test report. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A generic software testing mechanism, used for a distributed object-oriented system to perform a test, wherein said generic software testing mechanism comprises:
-
inputting class-diagram related data to a test-plan wizard as a basis of said test;
selecting a testing sequence diagram from sequence-diagram related data for use in said test, and inputting the data of said testing sequence diagram to said test-plan wizard;
filling a plurality of reference input values and a plurality of output values with respect to said testing sequence diagram;
generating a test-result template containing said reference input values and said reference output values by said test-plan wizard;
passing said test-result template to a comparator;
generating test-plan execution codes by said test-plan wizard;
executing said test-plan execution codes by a tested software unit/system for performing said test so as to generate a test result, wherein said tested software unit/system is corresponding to said class-diagram related data and said sequence-diagram related data;
passing said test result to said comparator; and
creating a test report by said comparator. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
Specification