aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skype/t/irssi/skype-info.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/skype/t/irssi/skype-info.test b/skype/t/irssi/skype-info.test
new file mode 100644
index 00000000..0884a89d
--- /dev/null
+++ b/skype/t/irssi/skype-info.test
@@ -0,0 +1,11 @@
+TESTNEEDEDVARS="TEST_SKYPE_ID TEST_SKYPE_PASSWORD"
+TESTDURATION=60
+TESTCHECKRESULT="grep '\[Test Passed\]' status.log"
+TESTLOGIN="$TEST_SKYPE_ID"
+TESTPASSWORD="$TEST_SKYPE_PASSWORD"
+### Test receiving info output
+/expectbee 'Welcome to the BitlBee' -command 'msg $$C register testing'
+/expectbee 'Account successfully created' -command 'msg $$C account add skype @LOGIN@ @PASSWORD@'
+/expectbee 'Account successfully added' -command 'msg $$C account on 0'
+/expectjoin anothr.com -command 'msg $$C info anothrcom'
+/expectbee 'Full Name: Anothr RSS Bot' -command 'quit Test Passed'