TEST GENERATION APPARATUS, TEST GENERATION METHOD AND PROGRAM
A test generation apparatus includes: a comparison unit configured to compare an output of a test target system executed based on an input, with an output of a reference model executed based on the input; and a test generation unit configured to store the input and the output of the test target system in a storage unit, based on the result of the comparison performed by the comparison unit.
1 . A test generation apparatus comprising:
a comparison unit configured to compare an output of a test target system executed based on an input, with an output of a reference model executed based on the input; and
a test generation unit configured to store the input and the output of the test target system in a storage unit, based on a result of the comparison performed by the comparison unit.
2 . The test generation apparatus according to claim 1 , wherein, when the comparison unit determines that the output of the test target system and the output of the reference model match, the test generation unit stores the input and the output of the test target system in the storage unit.
3 . The test generation apparatus according to claim 1 , wherein, when the comparison unit determines that the output of the test target system and the output of the reference model do not match, the test generation unit stores the input and the output of the test target system in the storage unit.
4 . A test generation method implemented by a computer, the test generation method comprising:
comparing an output of a test target system executed based on an input, with an output of a reference model executed based on the input; and
storing the input and the output of the test target system in a storage unit, based on a result of the comparison.
5 . A non-transitory computer-readable recording medium storing a program that, when executed on a computer, causes the computer to function as the comparison unit and the test generation unit in the test generation apparatus of claim 1 .