Unfortunately we don't have automated tests (patches welcome), so we need to do them manually.
- Pidgin with ZNC Helper version under test (do not start Pidgin from Cygwin, see Github #8)
- 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)
- Connect Pidgin through ZNC and irssi to the same IRC server
- Join the same channel
- Send a chat and a query message from irssi to Pidgin and check the timestamps
- Disconnect Pidgin from ZNC
- Send a chat message from irssi to Pidgin and wait a few seconds
- Send a query message from irssi to Pidgin and wait a few seconds
- Re-connect Pidgin to receive the messages and check the timestamps
- Connect MutterIRC to ZNC
- Send a chat and a query message from MutterIRC to irssi and check the presence and the timestamps in Pidgin
- Check the presence and the timestamps in Pidgin's chat history
- Disconnect Pidgin
- Send a chat and a query message from MutterIRC to irssi
- Send a chat message from irssi to Pidgin
- Disconnect irssi and wait a few seconds
- Re-connect Pidgin to receive the messages, check the timestamps and that the nick of the irssi-user is italic