Trey Del Bonis 9d70e23b09 test: reworked test entrypoint for new flexitest version 8 月之前
..
README.md 2aceb80aad test: updated run-tests.sh and README.md to reflect changes 1 年之前
clean.sh 2e7939053b test: added clean and log dump scripts 1 年之前
entry.py 9d70e23b09 test: reworked test entrypoint for new flexitest version 8 月之前
exec-in-last.sh b06951db28 test/misc: replaced some shell scripts with a more general one 10 月之前
fn_cs_d2d_queue.py 7ef199f276 added most of code paths to support D2D messages 11 月之前
fn_cs_register.py e56a0d3be5 test: reworked test framework envs, added test to ensure device queues can be queried 11 月之前
fn_cs_server_queue.py 4c03e40d63 homeserver: added MQPU impl, test passes now 11 月之前
fn_s_startup.py e56a0d3be5 test: reworked test framework envs, added test to ensure device queues can be queried 11 月之前
rpc.py 0b0a4360a2 test/framework: stripped out references to RPC module 1 年之前
run-tests.sh 5222562920 homeserver, proto, test: fixed homeserver not using auth 9 月之前

README.md

test framework

setup

You must install Flexitest first, as below.

git clone https://codeberg.org/treyd/flexitest.git
cd flexitest/
poetry install

Or you could use a virtualenv if you want to do it the right way instead, but I don't usually like doing it the right way because I think I know better.

run

./run-tests.sh is the main script, pick a specific test to run by passing its module name as an argument, like ./run-tests.sh fn_foobar.

Set CARGO_DEBUG=1 to add the debug build output dir to PATH instead of the release build output dir.