D Medved > VSGDR-UnitTest-TestSet > replaceGDRSql.pl

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

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

replaceGDRSql.pl - Replace the embedded SQL for a Test in a GDR Unit Test file.

VERSION ^

1.0.1

USAGE ^

replaceGDRSql.pl -i <file> -t <TestName> -a <TestAction> -si <SQLfile>

REQUIRED ARGUMENTS ^

-i[n][file] [=]<file>

Specify the unit test file

-si[n][file] [=]<sqlfile>

Specify the file containing the new sql.

-t[est] [=]<testname>

Specify the name of the test the SQL of which is to be replaced.

-a[ction] [=] <action>

Specify the action element to be replaced. One of :- /pre|post|test|init|cleanup/

AUTHOR ^

Ded MedVed.

BUGS ^

Hopefully none.

COPYRIGHT ^

Copyright (c) 2013, 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: