aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skype/t/irssi/skype-msg.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/skype/t/irssi/skype-msg.test b/skype/t/irssi/skype-msg.test
new file mode 100644
index 00000000..afb49a7b
--- /dev/null
+++ b/skype/t/irssi/skype-msg.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 sending and receiving messages
+/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 anothrcom: ?'
+/expectbee 'To manage, share and read your subscriptions' -command 'quit Test Passed'