Black-box integration testing for Matrix Identity Servers
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Cloke cfc3bf0b99
Add tests for the /versions endpoint. (#25)
To test for Matrix 1.1 compatibility.
2022-12-28 09:22:27 -05:00
.github Migrate to GHA (#24) 2022-11-01 14:07:52 +00:00
matrix_is_tester Add tests for the /versions endpoint. (#25) 2022-12-28 09:22:27 -05:00
.gitignore Port matrix-is-tester to Python 3 2020-01-08 16:10:04 +00:00
LICENSE Initial commit 2019-07-24 10:01:32 +01:00
MANIFEST.in Apply suggestions from code review 2019-09-03 06:21:16 -04:00
README.md correct pythonpath 2019-08-14 14:28:28 +01:00
setup.cfg Fix isort settings 2020-01-10 15:33:48 +00:00
setup.py Add tests for the /versions endpoint. (#25) 2022-12-28 09:22:27 -05:00

matrix-is-tester

matrix-is-tester is an integration testing system for Matrix Identity servers, similar to sytest (although using python rather than perl).

To launch the IS server, it attempts to import matrix_is_test.launcher.MatrixIsTestLauncher. This must be provided separately for the specific ID server implementation to be tested. See sydent's implementation for an example of how this works.

Sydent supplies its matrix-is-tester launcher in the project directory, so to launch matrix_is_tester on sydent you would run:

PYTHONPATH="/path/to/sydent" trial matrix_is_tester

...which puts the launcher on the PYTHONPATH and invokes trial on matrix_is_tester (which is assumed to already be on sys.path).