wayvnc/test/integration
Jim Ramsay 30c5581ce4 Updated documentation for integration tests
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-03-06 06:53:35 -05:00
..
xdg_config/sway Add vncdotool for integration tests 2023-02-26 11:37:55 -05:00
README.md Updated documentation for integration tests 2023-03-06 06:53:35 -05:00
integration.sh test: Add multi-output integration test 2023-02-28 12:20:33 -05:00

README.md

Integration Testing

Prerequisites

The integration tests currently require that the following tools are installed:

  • sway (1.8 or later)
  • lsof
  • jq
  • bash
  • vncdotool

Most of these are available in your normal distro package manager, except vncdotool which is a python tool and installable via pip:

pip install vncdotool

Running

./test/integration/integration.sh

Two test suites are defined:

Smoke test

Tests basic functionality such as:

  • Can wayvnc start and connect to wayland?
  • Does the wayvncctl IPC mechanism work (both control and events)?
  • Can a VNC client connect and send a keystroke through to sway?

Multi-output test

Tests wayvnc with a multi-output sway, including:

  • Do we detect additions and removals of outputs?
  • Do the wayvncctl commands to cycle and switch outputs work?