Issues / Woggle

Integration test for CTCP WOGGLE against the test IRC server #17

Open R3disme opened this · 0 comments Updated
R3disme commented

woggle_mod has unit tests for the coordination rules, but nothing tests the wiring in client.rs (which messages reach handle, observe_mode, op checks).

Add a test that starts the local test IRC server, connects two clients and checks:

  • a non-op cannot get stats or announce bans
  • a shared ban is only taken over after its MODE +b was seen
  • an UNBAN message alone does not end a ban
Comment on GitHub A GitHub login is needed to comment.