The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
VSGDR-UnitTest-TestSet


INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install
	
cpanm offers a quicker and simpler way to install this software.


SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc VSGDR::UnitTest::TestSet

Each utility script contains its own documentation.  You can run perldoc
on the script, or use 'scriptname.pl --man' to view the help.


QUICK START GUIDE

Here's a quick overview of how to get started with using the system:-

If you've create a sql script that gives you the results you want, typing this at a command line:-
    genGDRTests -c namedODBCConnectionToYourInstanceAndDatabase -i YourTestScript.sql -o TheNameOfTheUnitTestYouWantToCreate.cs
or if you have a taste for the perverse,
    genGDRTests -c namedODBCConnectionToYourInstanceAndDatabase -i YourTestScript.sql -o TheNameOfTheUnitTestYouWantToCreate.vb

will create a .NET Unit Test source file and resource file in the current directory, ready to be added to your unit test project.

Once this has been done, you can check the generated unit test (without compiling it or adding it to a test project) :-
    runGDRTest -c namedODBCConnectionToYourInstanceAndDatabase -i TheNameOfTheUnitTestYouWantToCreate.cs
                
Once you've accumulated a few unit tests, you may want to sweep them all up into a single file that contains multiple tests :-                
   mergeGDRTests -o CombinedUnitTestFileName.cs -i UnitTestOne.cs -i UnitTestTwo.vb -i UnitTestThree.cs ( and so on )


OTHER

You can also look for information at:

    RT, CPAN's request tracker (report bugs here)
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=VSGDR-UnitTest-TestSet

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/VSGDR-UnitTest-TestSet

    CPAN Ratings
        http://cpanratings.perl.org/d/VSGDR-UnitTest-TestSet

    Search CPAN
        http://search.cpan.org/dist/VSGDR-UnitTest-TestSet/


LICENSE AND COPYRIGHT

Copyright (C) 2012 Ded MedVed

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.