wayvnc/test/integration
Andri Yngvason 333381326d test: integration: Disable multi-output test
It seems rather fragile and I don't have the time to make it more robust.
2024-03-30 16:39:33 +00: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: integration: Disable multi-output test 2024-03-30 16:39:33 +00: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?