-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more test for reliability #108
Comments
The hot fix applied between The bug that was solved in the patch had to do with not updating the cursor caret position anywhere within the Odilia code base. If we would have tested sending a test environment to the primary This strengthens my resolve to have better testing infrastructure. |
Blocked on odilia-app/atspi#82; planning to merge before the end of the month, hopefully. |
We should have tests for any type of event which can be passed to
odilia/src/events/mod.rs::dispatch
, which is currently around 175.We absolutely need tests to detect what changes are made to state, making sure that certain other parts of state are not affected, etc.
This would essentially be integration testing, since the
State
requires an active SSIP connection,DBus
connection, configurations from files, etc.I'm putting this in for 0.2.0, since I think focusing on reliability this early will pay off in the long-run.
Here's a list of current functions which can be dispatched to, there should be at least one test per function here:
document::load_complete
cache::add_accessible
cache::remove_accessible
object::state_changed
(this should at least have one case for both adding and removing a state)object::text_caret_moved
object::text_changed
object::children_changed
The text was updated successfully, but these errors were encountered: