摘要 |
<P>PROBLEM TO BE SOLVED: To perform a unit test using a generated control program in a shorter time in an arithmetic unit in which the generated control program is to be incorporated. <P>SOLUTION: A template of a test driver depending on operation environment of an arithmetic unit in which a control program is to be incorporated is generated in advance. A variable input terminal of a control block diagram and a test pattern input element associated with each other when generating the control program by the control block diagram, a test pattern input code performing processing according to association of a variable output terminal with a output pattern storage element, and an output pattern storage code are generated (steps S13 to S16). From source codes of the test pattern input code, the output pattern storage code, and the control program, and the template test driver, a source code of the test driver performing a prescribed verification operation to the control program in an operating environment appropriate to operating environment specifications which are input is generated (steps S17, S18). <P>COPYRIGHT: (C)2012,JPO&INPIT |