Skip to content

slint::testing Namespace

Use the functions and classes in this namespace for in-process UI testing.

This module is still experimental - its API is subject to changes and not stabilized yet. To use the module, you must enable the SLINT_FEATURE_EXPERIMENTAL=ON and SLINT_FEATURE_TESTING CMake options.

  • ElementHandle: A handle to an element for querying accessible properties, intended for testing purposes.
  • init: Init the testing backend.
  • LayoutKind: Describes the kind of layout an element represents.

© 2026 SixtyFPS GmbH