Skip to content

Replayable GUi #2184

Answered by ogoffart
EdorianDark asked this question in General
Discussion options

You must be logged in to vote

This is a great blog post.
We actually have thought about many of the points in the article.
We want to eventually provide a good testing framework for Slint, that includes replaying data. There is even an issue for that: #464

We don't have yet a good public API for testing, but we already have an internal test driver.
The test framework can send any input event as if it was the user. Also Slint can use a mocked time, so the test can test animation with a fake time. (So a test don't need to wait real time for animation to finish, but can just replay the whole thing almost instantly)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by EdorianDark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants