Test::STDmaker::Check is a Perl module that checks a software test description short hand.
The Test::STDmaker::Check package is an internal driver package to the Test::STDmaker package that supports the Test::STDmaker::tmake() method. Any changes to the internal drive interface and this package will not even consider backward compatibility. Thus, this POD serves as a Software Design Folder documentation the current internal design of the Test::STDmaker and its driver packages.
The Test::STDmaker::Check package performs the following:
checks the STD database
creates a test description of ordered name,value pairs database array @{$self->{$module}->{test_db}}
generates a check script that numbers the ok the same as if generated by a test script The name for the check script is the STD database Temp field and usually is temp.pl.
Runs the check script to obtan a ok translation table.
Change the ok fields in the STD database according to the ok tranlation table from the check script.
The Test::STDmaker::Check package inherits the methods of the Test::STDmaker package. The Test::STDmaker build generate and methods directs the Test::STDmaker::Check package to perform its work by calling its methods.
During the course of the processing the Test::STDmaker::Check package maintains the following in the $self object data hash:
$demo_only
Flags if the test is demo only and will be ignore as far as the generating the check test script
$demo_only_expected
Once only flag set by the A subroutine and reset by the next E subroutine. There should be no E subroutine after a A demo only subroutine.
$ok
Sequential count of the ok fields. This is the initial count enter in the test description data base and used by the clean script to record the true ok count from running the clean script.
$success
Use by the finish subroutine for a diagnostic dump if the process does not go right.
@todo
A list of todo tests.
The Test::STDmaker::Check package has the following options that are passed as part of the $self hash from Test::STDmaker methods:
fspec_out
The File_Spec field determines he file specification for the STD database. The finish routine will set the File_Spec to the fspec_out optin if it is present.
nounlink
The post_generate subroutine will not unlink the check script (usually temp.pl) if there is a nounlink option.
Product's homepage
Requirements:
· Perl