Commit Graph

97 Commits

Author SHA1 Message Date
Shivaram Lingamneni f4b65a453d fix assertDisconnected 2018-12-30 19:05:13 -05:00
Shivaram Lingamneni 019639ba88 framework enhancements 2018-12-28 13:42:47 -05:00
Daniel Oaks 39a90e5726 Don't send empty CAP REQ 2017-11-01 23:33:43 +00:00
Daniel Oaks 754f9ad250 Fix channel deterministic joining s'more 2017-11-01 17:42:44 +00:00
Daniel Oaks e4c3490787 Make tests around joining channels more deterministic 2017-11-01 17:29:45 +00:00
Valentin Lorentz 548ddb57b0 Add TLS certificate check tests for clients. 2016-07-20 11:41:35 +02:00
Valentin Lorentz 68e6adda69 Add tests for extended-join. 2015-12-29 12:54:09 +01:00
Valentin Lorentz 5f07025a4a Add basic MONITOR tests. 2015-12-25 22:47:11 +01:00
Valentin Lorentz e2583a67ca Add STARTTLS tests. 2015-12-25 15:45:06 +01:00
Valentin Lorentz 1281901eb3 Remove debug print. 2015-12-24 21:21:06 +01:00
Valentin Lorentz da54b76b78 Add test on the interaction of server-time and echo-message. 2015-12-24 21:14:59 +01:00
Valentin Lorentz 9943753e2b Don't use subTest, it gives bad tracebacks. 2015-12-24 01:12:33 +01:00
Valentin Lorentz 5d4473b767 Add option --loose. 2015-12-23 19:39:34 +01:00
Valentin Lorentz d3617b7012 Make port wait lazy. This way, we don't want for the server to start if the test is skipped immediately. 2015-12-23 01:54:10 +01:00
Valentin Lorentz 53f916991f Add METADATA tests. 2015-12-22 22:33:23 +01:00
Valentin Lorentz 69203a145d Split connectClient into connectClient and skipToWelcome. 2015-12-22 20:49:31 +01:00
Valentin Lorentz 2cc4ad4f0f Make the set of tested specifications configurable. 2015-12-22 19:55:48 +01:00
Valentin Lorentz ef8adc7ede Rename irctest.optionality to irctest.runner, and clean code a bit. 2015-12-22 18:54:06 +01:00
Valentin Lorentz 95db1d4dfd Add tests for channel names sensitivity. 2015-12-22 12:14:55 +01:00
Valentin Lorentz 63671afcf4 Add TOPIC test cases. 2015-12-22 05:06:51 +01:00
Valentin Lorentz 3b196ce445 Add test testKickSendsMessages. 2015-12-22 01:56:01 +01:00
Valentin Lorentz d5de337c8d Add tests for AUTHENTICATE with auth string longer than 399 characters. 2015-12-22 00:47:02 +01:00
Valentin Lorentz 647894b50f Make assertion messages readable by people who are not me. 2015-12-21 21:48:59 +01:00
Valentin Lorentz 3a3b504762 Move ClientMock to its own file. 2015-12-21 20:13:16 +01:00
Valentin Lorentz b71e1f3355 Fix BaseServerTestCase when there is more than one user. 2015-12-21 16:36:09 +01:00
Valentin Lorentz 4ac1108f82 Add quotes from specifications to test descriptions. 2015-12-21 13:09:30 +01:00
Valentin Lorentz 5eb014d4ba Add PING-based synchronization for fetching messages from server. 2015-12-21 12:24:40 +01:00
Valentin Lorentz 5da956f2d9 Show timestamps of I/Os. 2015-12-21 00:23:32 +01:00
Valentin Lorentz 2a44f9a7ad Add tests from section 3.1 of RFC 2812. 2015-12-20 23:59:35 +01:00
Valentin Lorentz 38569f013f Add PLAIN test for servers. 2015-12-20 16:15:25 +01:00
Valentin Lorentz 7169952a1f Merge pull request #6 from DanielOaks/auto-server-start-wait
Automatically wait for server to start when connecting
2015-12-20 13:51:14 +01:00
Valentin Lorentz 900f18492c Add docstrings. 2015-12-20 13:47:30 +01:00
Daniel Oaks 9844b08d9d Automatically wait for server to start before running server tests 2015-12-20 22:46:47 +10:00
Valentin Lorentz 8d337bb7bd Add registration to server tests. 2015-12-20 13:12:54 +01:00
Daniel Oaks 6973f05130 Add --server-start-delay for delay seconds, and cleanup mammon 2015-12-20 14:00:20 +10:00
Valentin Lorentz 4379ee6abf Add Mammon controller. 2015-12-20 01:48:56 +01:00
Daniel Oaks ac2a36274c irctest.cases: Send QUIT before kill, because after kill we may not be able to send msgs 2015-12-20 10:17:52 +10:00
Valentin Lorentz 8d12f2fedb Add tests for NAK. 2015-12-20 00:47:06 +01:00
Valentin Lorentz a8f8d7c077 Start supporting server testing. 2015-12-19 23:09:06 +01:00
Valentin Lorentz 5af760ccdd Add tests for SASL mechanism refusal. 2015-12-19 21:17:06 +01:00
Valentin Lorentz 9868f6a1d4 Add SASL PLAIN test. 2015-12-19 17:52:38 +01:00
Valentin Lorentz 2a4b1f1540 Add support for clients refusing negotiation and fix typos. 2015-12-19 11:32:19 +01:00
Valentin Lorentz f9c497b7ca Add Sopel controller and add support for CAP NAK. 2015-12-19 10:05:37 +01:00
Valentin Lorentz 6d68a497ac Add --show-io, improve I/O commands, and add test case for empty CAP LS. 2015-12-19 09:30:50 +01:00
Valentin Lorentz 097b28b8e7 Move CAP LS handling to a more generic class. 2015-12-19 09:03:08 +01:00
Valentin Lorentz d99f8b39dc Add message parser and write first actual test. 2015-12-19 08:43:45 +01:00
Valentin Lorentz 7568e0d5d3 Basic architecture. 2015-12-19 01:11:57 +01:00