摘要 |
<p>A test support device (100) comprises: an original program acquisition unit (52) for acquiring an original program to be tested; a syntax tree generation unit (54) for generating a syntax tree, based on a program code described in the original program; a syntax tree modification unit (56) for setting, in the syntax tree, to a node of a control command for controlling an execution flow in the original program, a node of a logging command for outputting a message indicating that the execution flow has been controlled by the control command, in correspondence to each other; and a test program output unit (58) for outputting, with reference to the modified syntax tree, a test program in which the logging command is set in correspondence with the control command.</p> |