Skip to content

tests: More descriptive test names

Alexandros Frantzis requested to merge afrantzis/way-assay:test-names into main

(Note that this MR is developed on top of !15 (merged). Gitlab CE doesn't seem to support such dependencies so please ignore the commits (and diff) from that MR that appear in this one).

Provide more descriptive test names by:

  1. using test module names matching the corresponding Wayland protocol/interface names
  2. including module name in the test name

in order to enable easier filtering based on Wayland terminology. For example:

cargo test --test wayassay xdg_shell => runs all xdg_shell tests cargo test --test wayassay wayland => runs all wayland protocol (i.e., core) tests

Each protocol can then provide further internal splits as needed and/or is convenient, e.g.:

cargo test --test wayassay wayland::wl_surface

Merge request reports