chore(tests): update test setup instructions

Provide detailed setup steps for running tests in the project, including adjusting the `docker-compose.yaml` file to specify client instances and their players.
This commit is contained in:
Yves-Marie Haussonne 2024-10-07 15:14:14 +02:00
parent d97e252372
commit ae9daa881b

View File

@ -41,7 +41,8 @@ This mod's goal is to provide a test framework for implementing tests for minete
local register_test = test_harness.get_test_registrator("my_mod", my_mod.version_string)
```
10. Register the test by calling `register_test`
11. Run the test by lauching the `run_tests.sh` script. For example with Podman
11. Adapt the `.util/docker-compose.yaml` to declare all the client intances with their players needed by your tests
12. Run the test by lauching the `run_tests.sh` script. For example with Podman
```shell
$ .util/run_tests.sh --podman
```