[Rt-commit] r7167 - in rt/branches/3.7-EXPERIMENTAL-TUNIS:
t/shredder
ruz at bestpractical.com
ruz at bestpractical.com
Mon Mar 5 17:36:10 EST 2007
Author: ruz
Date: Mon Mar 5 17:36:09 2007
New Revision: 7167
Added:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/
- copied from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/
Removed:
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/00load.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/00skeleton.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/01basics.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/01ticket.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02group_member.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02queue.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02template.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02user.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_summary.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_tickets.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_users.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/utils.pl
Log:
* move shrdders' tests
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/00load.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/00load.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/00load.t Mon Mar 5 17:36:09 2007
@@ -1,6 +1,6 @@
use Test::More tests => 11;
-BEGIN { require "lib/t/regression/shredder/utils.pl" }
+BEGIN { require "t/shredder/utils.pl" }
use_ok("RT::Shredder");
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/00skeleton.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/00skeleton.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/00skeleton.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
init_db();
plan tests => 1;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/01basics.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/01basics.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/01basics.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
init_db();
plan tests => 3;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/01ticket.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/01ticket.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/01ticket.t Mon Mar 5 17:36:09 2007
@@ -8,7 +8,7 @@
plan tests => 15;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
init_db();
create_savepoint('clean');
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02group_member.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/02group_member.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02group_member.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
init_db();
plan tests => 22;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02queue.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/02queue.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02queue.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
init_db();
plan tests => 16;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02template.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/02template.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02template.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
init_db();
plan tests => 7;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02user.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/02user.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/02user.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
init_db();
plan tests => 8;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/03plugin.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
my @PLUGINS = sort qw(Attachments Base Objects SQLDump Summary Tickets Users);
plan tests => 7 + 3 * @PLUGINS;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_summary.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/03plugin_summary.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_summary.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
plan tests => 4;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_tickets.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/03plugin_tickets.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_tickets.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
plan tests => 44;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_users.t
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/03plugin_users.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/03plugin_users.t Mon Mar 5 17:36:09 2007
@@ -5,7 +5,7 @@
use Test::More;
use Test::Deep;
-BEGIN { require "lib/t/regression/shredder/utils.pl"; }
+BEGIN { require "t/shredder/utils.pl"; }
plan tests => 10;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/utils.pl
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/shredder/utils.pl (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/shredder/utils.pl Mon Mar 5 17:36:09 2007
@@ -39,12 +39,12 @@
Shredder distribution has several files to help write new tests.
- lib/t/regression/shredder/utils.pl - this file, utilities
+ t/shredder/utils.pl - this file, utilities
t/00skeleton.t - skeleteton .t file for new test files
All tests runs by next algorithm:
- require "lib/t/regression/shredder/utils.pl"; # plug in utilities
+ require "t/shredder/utils.pl"; # plug in utilities
init_db(); # create new tmp RT DB and init RT API
# create RT data you want to be always in the RT DB
# ...
@@ -87,7 +87,7 @@
# generic logging
config_set( '$LogToSyslog' , undef );
config_set( '$LogToScreen' , 'error' );
- config_set( '$LogStackTraces' , 1 );
+ config_set( '$LogStackTraces' , 'crit' );
# logging to standalone file
config_set( '$LogToFile' , 'debug' );
my $fname = File::Spec->catfile(create_tmpdir(), test_name() .".log");
@@ -381,7 +381,7 @@
$name.log - RT debug log file
$name.db - latest RT DB sed while testing
$name.*.db - savepoint databases
-See also perldoc lib/t/regression/shredder/utils.pl to know how to use this info.
+See also perldoc t/shredder/utils.pl to know how to use this info.
END
}
More information about the Rt-commit
mailing list