genGDRTests.pl - Creates GDR test files from test sql scripts. This version creates no test conditions for anything other than the main test file. All files, other than the main test files are fixed, are the same for each generated test. Test is run tw2ce to generate tests only for stable values. (Dates are still a problem.)
1.4.1
genGDRTests.pl -i <infile> -o <outfile> -c <odbc connection> -r <resultSets> -n <namespace> [options]
Specify input file
Specify output file
Specify ODBC connection for Test script
Output version type
Specify privileged ODBC connection for Setup/Teardown scripts
Pre-test file
Post-test file
Common initialisation code file
Common cleanup code file
Resultsets (numeric list) for which to generate test conditions
Specify namespace for test class
[Don't] generate 'Passed' scalar value result ie don't run the tests
[Don't] generate scalar value test conditions
[Don't] generate SQL types declaration
Ded MedVed.
Hopefully none.
Copyright (c) 2012, Ded MedVed. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)
To install VSGDR::UnitTest::TestSet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VSGDR::UnitTest::TestSet
CPAN shell
perl -MCPAN -e shell install VSGDR::UnitTest::TestSet
For more information on module installation, please visit the detailed CPAN module installation guide.