Expand description
§💻🐈 kittest: UI Testing Library for Rust Powered by AccessKit
kittest is a GUI testing library for Rust, inspired by Testing Library. It leverages AccessKit to provide a framework-agnostic solution for testing user interfaces.
This library is designed to be flexible and works with any GUI framework that supports AccessKit. Creating new kittest integrations is simple and straightforward. To get started, check out our basic integration example.
§Available Integrations
- egui_kittest: Official integration for egui.
Structs§
- A filter for nodes. The filters are combined with a logical AND.
- A node in the accessibility tree. This should correspond to a widget or container in the GUI
- The kittest state
Enums§
- The state of an element (e.g. Button), either pressed or released.
- Kittest event sent to the GUI application.
- The keys (currently these match egui’s keys).
- A Simulated Event. These should map to the event type of the gui framework.
Traits§
- Provides convenience methods for querying nodes in the tree, inspired by https://testing-library.com/.
Functions§
- Create an empty filter. Convenience function for
By::new
.