Commit Graph

31 Commits

Author SHA1 Message Date
Val Lorentz 23c7c1642b
exhaustive testing of Modern's WHOIS spec (#104)
* Add testWhoisNumerics, to check Modern exhaustively covers known numerics

* ircu2: Workaround for server name in testWhoisNumerics.

* testWhoisUser: Work around ircu2 restrictions on nick and username

* testWhoisNumerics: Add variant with authenticated user

* testWhoisNumerics: Add support for RPL_AWAY and RPL_WHOISSPECIAL

* testWhoisNumerics: Add variant where the WHOIS sender opers up first

* testWhoisUser: Also test with targets

* inspircd: Fix oper configuration

* Fix RPL_WHOISACTUALLY matching for Unreal.
2021-08-29 16:38:38 +02:00
Val Lorentz a9e6605640
Add exhaustive testing of INVITE. (#87)
* Add exhaustive testing of INVITE.

Only tested with Modern, because no one implements the RFC syntax.

* Mark testInviteUnopped* as strict tests.

* Exclude testInviteInviteOnlyModern on Plexus4

* Add test for ERR_USERONCHANNEL.
2021-08-26 21:04:45 +02:00
Val Lorentz a637ae3927
Add Anope controller, and use it with inspircd and unreal (#75)
* Add Anope controller, and use it with inspircd and unreal

* Build Anope before running it, duh

* Fix Anope build script

* Consistently use ascii casemapping instead of rfc1459

* Skip failing test with Anope
2021-07-07 15:06:00 +02:00
Valentin Lorentz 7e024b9ead Add CLI option --services-controller to allow alternatives to Atheme (none for now)
+ fix some issues with killing services processes
2021-07-07 14:02:47 +02:00
Valentin Lorentz f83f2a4edf Make all tests pass with Unreal (minus service tests) 2021-07-02 21:41:35 +02:00
Valentin Lorentz 26a0245a6a Add tests for the draft bot mode. 2021-07-01 16:44:48 +02:00
Valentin Lorentz 3d2399f62e Run Atheme with Charybdis, to enable tests depending on SASL 2021-06-27 21:19:34 +02:00
Valentin Lorentz c5037e8ec9 Make AthemeController a collaborator instead of a mixin
It makes the inheritence less messy and avoids a mypy hack.

This will also allow configuring which service package an ircd controller
uses, instead of hardcoding it in the inheritence DAG.
2021-06-27 16:45:43 +02:00
Valentin Lorentz 7ee3c562d1 Run Atheme with InspIRCd, to enable tests depending on SASL 2021-06-27 16:45:43 +02:00
Valentin Lorentz 62a87b5957 type-annotate all functions outside the tests themselves. 2021-02-28 18:45:13 +01:00
Valentin Lorentz 12da7e1e3b Enable mypy, and do the minimal changes to make it pass 2021-02-28 18:45:13 +01:00
Valentin Lorentz 96a8d1f7ff Make MuteExtban not Oragono-specific. 2021-02-28 09:24:47 +01:00
Valentin Lorentz 22eb8d4369 inspircd: Enable all modules for caps/commands that we can test
Instead of skipping these tests.
2021-02-27 15:34:59 +01:00
Valentin Lorentz f9d0ec18ff Make flake8 pass, and run it automatically. 2021-02-22 19:42:18 +01:00
Valentin Lorentz 836cc5d6d2 Use isort to order imports. 2021-02-22 19:42:18 +01:00
Valentin Lorentz 8016e01daf Use Black code style 2021-02-22 19:42:18 +01:00
Valentin Lorentz 373c705247 Add STS tests. 2021-02-21 22:05:15 +01:00
Valentin Lorentz e2583a67ca Add STARTTLS tests. 2015-12-25 15:45:06 +01:00
Valentin Lorentz 87301592d4 Add echo-message tests. 2015-12-24 20:52:36 +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 2cc4ad4f0f Make the set of tested specifications configurable. 2015-12-22 19:55:48 +01:00
Valentin Lorentz d2616dc7d7 Small code improvements to InspIRCd controller. 2015-12-21 20:12:57 +01:00
Valentin Lorentz 74443bb6ae Add PASS tests. 2015-12-21 16:36:22 +01:00
Valentin Lorentz 4335b909e5 Hide InspIRCd's output. 2015-12-21 12:24:08 +01:00
Valentin Lorentz 38569f013f Add PLAIN test for servers. 2015-12-20 16:15:25 +01:00
Daniel Oaks 9844b08d9d Automatically wait for server to start before running server tests 2015-12-20 22:46:47 +10:00
Daniel Oaks 6973f05130 Add --server-start-delay for delay seconds, and cleanup mammon 2015-12-20 14:00:20 +10:00
Valentin Lorentz 2695b604e7 Add testNakWhole. 2015-12-20 02:20:12 +01:00
Valentin Lorentz 7a4cc47d9c Enable IRCv3 for InspIRCd. 2015-12-19 23:44:51 +01:00
Valentin Lorentz a8f8d7c077 Start supporting server testing. 2015-12-19 23:09:06 +01:00