docs/guide/testing.rst
raw| 1 | .. include:: ../icons.rst |
| 2 | |
| 3 | ================================== |
| 4 | Testing and Continuous Integration |
| 5 | ================================== |
| 6 | |
| 7 | To get automated tests of GTK code running on a headless server use Mutter. It allows running your app on Wayland |
| 8 | display server without real display hardware. |
| 9 | |
| 10 | :: |
| 11 | |
| 12 | export XDG_RUNTIME_DIR=/tmp |
| 13 | eval $(dbus-launch --auto-syntax) |
| 14 | mutter --wayland --no-x11 --sm-disable --headless -- python my_script.py |