Skip to main content

Crate ryra_test

Crate ryra_test 

Source

Modules§

executor
registry
reports
runner
scenario
test_toml

Structs§

Args

Functions§

host_leftovers
Ledger entries still installed on the host: leftovers from a previous aborted run. The ledger only ever records harness installs, so purging these is always safe: user-installed services are never in it.
ledger_load
Load the ledger (newline-separated service names). Missing file → empty.
purge_services
Purge a test’s own services from the host, dependents before dependencies (reverse install order). Failures are non-fatal: a not-installed service is a no-op. Callers guarantee these services are harness-owned (never user-installed), so purging is always safe.
run
Run the E2E test suite with the given arguments.
test_sandbox_root
Root of the host-test sandbox. Everything a host run reads or writes that isn’t a quadlet symlink lives under here, on real disk: service data (services/), the preferences sandbox (config/), the ledger, and run reports (reports/). It’s ~/.local/share/services-test/ (honouring XDG_DATA_HOME), a sibling of the real ~/.local/share/services/, so the whole test footprint is one folder you can rm -rf. None if $HOME is unset.