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:
parent
d97e252372
commit
ae9daa881b
@ -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)
|
local register_test = test_harness.get_test_registrator("my_mod", my_mod.version_string)
|
||||||
```
|
```
|
||||||
10. Register the test by calling `register_test`
|
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
|
```shell
|
||||||
$ .util/run_tests.sh --podman
|
$ .util/run_tests.sh --podman
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user