File: testing.rst

package info (click to toggle)
pygobject 3.54.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,864 kB
  • sloc: ansic: 40,281; python: 26,363; sh: 477; makefile: 81; xml: 35; cpp: 1
file content (14 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.. include:: ../icons.rst

==================================
Testing and Continuous Integration
==================================

To get automated tests of GTK code running on a headless server use Mutter. It allows running your app on Wayland
display server without real display hardware.

::

    export XDG_RUNTIME_DIR=/tmp
    eval $(dbus-launch --auto-syntax)
    mutter --wayland --no-x11 --sm-disable --headless -- python my_script.py