Replies: 2 comments 2 replies
-
Have you had a look at Textual's own tests? |
Beta Was this translation helpful? Give feedback.
1 reply
-
It's not documented at a high level, but internally we use run_test which runs the app in headless mode. You interact with the app with a Pilot object to automate keys / clicks, then check the state with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on an application using Textual and I am wondering how to test my application automatically, ideally in a CI environment.
I want to ensure that my application launches correctly, that navigation between different screens works, and that all screen elements are present, functional, and contain the correct data.
However, I am not sure how to do this without extreme mocking and how to programmatically manipulate the application.
Has anyone done this before? Are there any ideas or examples available? Also, I would like to know if Textual has any future plans to make the testing process easier.
Beta Was this translation helpful? Give feedback.
All reactions