enthought / enthought/traitsui

UI Tester Refactor - Use utility function for creating handlers which call methods on the control of an editor

Open
#1,328 0 comments 0 reactions 0 assignees View on GitHub
component: test suite
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

In many editor implementations we register handlers that simply call one of the editor's control's methods. This repeated code could be more neatly refactored by creating a utility function (e.g. `create_handler_for_control_method`).
This function would be toolkit agnostic and theoretically could sit in a higher level `_interaction_helpers` module (currently does not exist).

See comment: https://github.com/enthought/traitsui/pull/1320#discussion_r501510793

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.