X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FTest%2FSQL%2FTranslator.pm;h=a689b1993808729eff37352de7ed3b646c40f9b7;hb=19458c2f7ad8fd25a2584a2a1cbd7e656867b31f;hp=3e8b08be48a2dcb602601c33145823c2f450b08f;hpb=282727bfcf86a2ad796ac70322544daf25573e87;p=dbsrgits%2FSQL-Translator.git diff --git a/lib/Test/SQL/Translator.pm b/lib/Test/SQL/Translator.pm index 3e8b08b..a689b19 100644 --- a/lib/Test/SQL/Translator.pm +++ b/lib/Test/SQL/Translator.pm @@ -1,7 +1,7 @@ package Test::SQL::Translator; # ---------------------------------------------------------------------- -# $Id: Translator.pm,v 1.2 2004-02-29 20:10:35 grommit Exp $ +# $Id: Translator.pm,v 1.3 2004-02-29 20:32:39 grommit Exp $ # ---------------------------------------------------------------------- # Copyright (C) 2003 The SQLFairy Authors # @@ -34,7 +34,7 @@ use warnings; use base qw(Exporter); use vars qw($VERSION @EXPORT @EXPORT_OK); -$VERSION = sprintf "%d.%02d", q$Revision: 1.2 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/; @EXPORT = qw( schema_ok table_ok @@ -530,6 +530,11 @@ table_ok, field_ok, constraint_ok, index_ok, view_ok, trigger_ok, procedure_ok Test whole schema. +=item Test Count Constants + +Constants to give the number of tests each *_ok sub uses. e.g. How many tests +does field_ok run? Can then use these to set up the test plan easily. + =item Test skipping As the test subs wrap up lots of tests in one call you can't skip idividual