NAME
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.)
VERSION
1.3.1
USAGE
genGDRTests.pl -i <infile> -o <outfile> -c <odbc connection> -r <resultSets> -n <namespace> [options]
REQUIRED ARGUMENTS
- -i[n][file] [=] <file>
-
Specify input file
- -o[ut][file] [=] <file>
-
Specify output file
- -c[onnection] [=] <dsn>
-
Specify ODBC connection for Test script
OPTIONS
- -v[er][sion] [=]<outputversion>
-
Output version type
- -pc[onnection] [=] <dsn>
-
Specify privileged ODBC connection for Setup/Teardown scripts
- -pre[file] [=] <prefile>
-
Pre-test file
- -post[file] [=] <postfile>
-
Post-test file
- -init[file] [=] <initfile>
-
Common initialisation code file
- -cleanup[file] [=] <cleanupfile>
-
Common cleanup code file
- -r[esultSets] [=] <resultSets>
-
Resultsets (numeric list) for which to generate test conditions
- -n[ame][space] [=]<namespace>
-
Specify namespace for test class
- --[no]scalarValues
-
[Don't] generate scalar value test conditions
- --[no]types
-
[Don't] generate SQL types declaration
AUTHOR
Ded MedVed.
BUGS
Hopefully none.
COPYRIGHT
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)