From bed40964453a3887ffb03b4e9d6c946caa9e408c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Gr=C3=A4fe?= Date: Mon, 25 Feb 2019 21:56:00 +0100 Subject: [PATCH] Refine TESTS.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Konrad Gräfe --- TESTS.md | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/TESTS.md b/TESTS.md index 4525c96..043183f 100644 --- a/TESTS.md +++ b/TESTS.md @@ -3,10 +3,32 @@ Unfortunately we don't have automated tests (patches welcome), so we need to do them manually. -Test in both chats and queries for: -- Offline messages (watch the timestamps) -- Online messages -- Offline self messages written by a second client (watch the timestamps) -- Online self messages written by a second client -- Parted users must be italic (chats only) -- Self messages in chat history +## Requirements +- Pidgin with ZNC Helper version under test (do not start Pidgin from Cygwin, + see [Github #8][1]) +- A second IRC client (subsequently called *irssi* but you can use any other + IRC client) +- A second ZNC client bound to the same ZNC account as Pidgin (subsequently + called *MutterIRC* but you can use any other ZNC client) + +[1]: https://github.com/kgraefe/pidgin-znc-helper/issues/8 + +## Test steps +1. Connect *Pidgin* through ZNC and *irssi* to the same IRC server +1. Join the same channel +1. Send a chat and a query message from *irssi* to *Pidgin* and **check the + timestamps** +1. Disconnect *Pidgin* from ZNC +1. Send a chat message from *irssi* to *Pidgin* and wait a few seconds +1. Send a query message from *irssi* to *Pidgin* and wait a few seconds +1. Re-connect *Pidgin* to receive the messages and **check the timestamps** +1. Connect *MutterIRC* to ZNC +1. Send a chat and a query message from *MutterIRC* to *irssi* and **check the + presence and the timestamps** in *Pidgin* +1. Check the **presence and the timestamps** in *Pidgin's* chat history +1. Disconnect *Pidgin* +1. Send a chat and a query message from *MutterIRC* to *irssi* +1. Send a chat message from *irssi* to *Pidgin* +1. Disconnect *irssi* and wait a few seconds +1. Re-connect *Pidgin* to receive the messages, **check the timestamps and that + the nick of the irssi-user is italic**