D Medved > VSGDR-UnitTest-TestSet-1.21 > genGDRTests.pl

Download:
VSGDR-UnitTest-TestSet-1.21.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: VSGDR-UnitTest-TestSet-1.27

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.2.9

USAGE ^

genGDRTests.pl -i <infile> -o <outfile> -c <odbc connection> -r <resultSets> [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 ^

-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

--[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)

syntax highlighting: