Automated Code Generation
The Graybox toolset creates Test
Objects (i.e. "drivers, stubs, probes, data
collection and test evaluation" code) [Panzl8 11.
Each test object has been validated by generic
instantiation (Reference Figure 2 Test Harness
Generation). "By putting a test domain expert
in direct communication with a high
performance program, the test environment
requires little if any rework by the on-site
tester" [Davis82]. Each test object is
instantiated to specifically test the software in
question, which results in wasting no time
creating or validating the test software.
"Computer programs that generate other
computer programs are often lacking in
aesthetic restraint" [Plauger99]. Since there
will be little need to ever view or modify these
generated programs aesthetics will be of little
concern to the tester, and "that is why the
program generator is generating a high-level
language program to begin with" [Plauger99].
The test objects will create test cases to verify
that all sections of the software have been
exercised. Test objects will verify that the
functionality of the software has been correctly
implemented. These objects allow the software
to be easily regression tested after each change,
thereby insuring the continued confidence in
the software product. Test objects provide
statistics detailing the degree to which
individual modules and the entire software
system has been tested.