-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Test Coverage for TextBox #20370
Copy link
Copy link
Closed
Labels
Good first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!Maintenancetopic: testingtopic: widgets/UI
Milestone
Metadata
Metadata
Assignees
Labels
Good first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!Maintenancetopic: testingtopic: widgets/UI
Describe the issue
Currently, we have 0 test coverage for widgets like
TextBox.Other widgets are tested here: https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/tests/test_widgets.py
Summary
Following up from #20367 (comment), there might exist more widgets that aren't tested at all, but TextBox seems likely to be used by a substantial audience, so might be worth the attention.
Proposed fix
Simple tests could involve testing
set_val,stop_typing, callbacks likeon_text_change,on_submit, etc could be a good starting point.