Patent ID: 7895575

Claim:
A computer apparatus having a microprocessor controlling a graphic user interface and the microprocessor driven by a software system for generating a test driver code for an architecture model of developing software, the apparatus comprising: an architecture model producer for inputting the architecture model through the graphic user interface, the architecture model including at least one component, each component having a definition and interface information; a snapshot information analyzer for receiving state values of the interface information of each component in the inputted architecture model to establish a snapshot and to analyze for snapshot information corresponding to each component of the inputted architecture model at the snapshot; a component framework code generator for generating a framework code, the framework code based on the snapshot information and on the interface information of each component; and a test driver code generator, using the snapshot information and the framework code, for generating a test preparation code that sets a test environment for the architecture model corresponding to the snapshot; a tester, using the framework code, for performing a comparison-based test of the test preparation code against expected values of the state values of the interface information of each component; and a test result comparator for comparing test results from the tester to generate the test driver code wherein the snapshot information includes a list of state variables of each component, a list of input parameters of a state interface of each component, and a list of expected values, wherein the test driver code is generated only if after interfacing the tester determines that the state values of the interface information of each component of the architecture model reach the expected values.