At the moment, tests requires Docker and docker-compose to run. This make it difficult to rely on github actions workflows for testing.
Even if those tests strictly reproduce the most common use case in a real world manner, it should be better to have a test suite that can be run with pytest only (using starlette.testclient.TestClient where needed).
Also we need to improve coverage, which will require a lot of functional tests (e.g. test matches, untag_broker_message and so on). Using Docker will become a unreasonable overhead when srtictly required only by a very small segment of the test suite.
Rationale
At the moment, tests requires Docker and docker-compose to run. This make it difficult to rely on github actions workflows for testing. Even if those tests strictly reproduce the most common use case in a real world manner, it should be better to have a test suite that can be run with
pytest
only (usingstarlette.testclient.TestClient
where needed). Also we need to improve coverage, which will require a lot of functional tests (e.g. testmatches
,untag_broker_message
and so on). Using Docker will become a unreasonable overhead when srtictly required only by a very small segment of the test suite.