Browse Prior Art Database

C++ Class SourceCode Generater and Unit Test stub Code Generater Disclosure Number: IPCOM000014125D
Original Publication Date: 2001-Feb-01
Included in the Prior Art Database: 2003-Jun-19

Publishing Venue



This Disclosure is a solution to generate "source code" , "test case List format" , "test data Input Sheet format" , "Unit Test (UT) test driver source code"from text base Input Informations of Class of OOP(for example c++,Java). In OOP , once class definition is completed ,coding and UT test drivers are made in a simple way in its language characterization. Input Information is "Class name","Attribute name","Attribute type","customised method definition"and "comment for descrived left. Output Information is OOP source code(include header) , UT test dirver (code). Work files are" UT test case List" and "Test data input sheets". 1) Source codes of Inevitable methods like default constructer, destoracter, copy constructer, chara parameter constructer,operator=,operator<< , ,get attribute value,set attributevalue and soob are generated , taking pointers into consideration. 2) UT test case canditates are defined from class methods. 3) each test data are coming from class attribute value and method parameter value. 4) UT test drivers codes are generated from 1) , 2) and 3) .