[Koha-patches] [PATCH] create unit test files

Nicole Engard nengard at bywatersolutions.com
Thu Oct 28 21:01:20 CEST 2010


---
 t/Cache.t     |   14 ++++++++++++++
 t/Review.t    |    1 +
 t/Scheduler.t |   14 ++++++++++++++
 3 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 t/Cache.t
 create mode 100644 t/Scheduler.t

diff --git a/t/Cache.t b/t/Cache.t
new file mode 100644
index 0000000..75f5acf
--- /dev/null
+++ b/t/Cache.t
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+#
+# This Koha test module is a stub!  
+# Add more tests here!!!
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+BEGIN {
+        use_ok('C4::Cache');
+}
+
diff --git a/t/Review.t b/t/Review.t
index 40e650f..90323bc 100755
--- a/t/Review.t
+++ b/t/Review.t
@@ -1,5 +1,6 @@
 #!/usr/bin/perl
 #
+#
 # This Koha test module is a stub!  
 # Add more tests here!!!
 
diff --git a/t/Scheduler.t b/t/Scheduler.t
new file mode 100644
index 0000000..5fd05b3
--- /dev/null
+++ b/t/Scheduler.t
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+#
+# This Koha test module is a stub!  
+# Add more tests here!!!
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+BEGIN {
+        use_ok('C4::Scheduler');
+}
+
-- 
1.5.6.5



More information about the Koha-patches mailing list