aboutsummaryrefslogtreecommitdiffstats
path: root/testing/test.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-02-21 06:08:19 +0000
committerTom Feist <shabble@metavore.org>2011-02-21 06:08:19 +0000
commit48df96665ec4b9e30469f7de2604578dae169f17 (patch)
treee10f975350901cee75e38928068905e54feb60d4 /testing/test.pl
parentmostly working except for callback handling. Removed original auto-testing (diff)
downloadirssi-scripts-48df96665ec4b9e30469f7de2604578dae169f17.tar.gz
irssi-scripts-48df96665ec4b9e30469f7de2604578dae169f17.zip
added test and launcher script
Diffstat (limited to '')
-rwxr-xr-xtesting/test.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/test.pl b/testing/test.pl
new file mode 100755
index 0000000..b062160
--- /dev/null
+++ b/testing/test.pl
@@ -0,0 +1,18 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+use feature qw/say/;
+
+use lib 'blib/lib';
+
+use Test::Irssi;
+
+my $test = Test::Irssi->new
+ (irssi_binary => "/opt/stow/repo/irssi-debug/bin/irssi",
+ irssi_homedir => $ENV{HOME} . "/projects/tmp/test/irssi-debug");
+
+say "Created test instance";
+
+$test->run;