enthought / enthought/pyface

Provide examples for ModalDialogTester and GuiTestAssistant

Open
#402 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I have not been able to find any examples for [`ModalDialogTester`](https://github.com/enthought/pyface/blob/master/pyface/ui/qt4/util/modal_dialog_tester.py) or the [`GuiTestAssistant`](https://github.com/enthought/pyface/blob/master/pyface/ui/qt4/util/gui_test_assistant.py). The code itself is well documented and easy-ish to understand but how the various methods can be used for testing is not clear.

Note that the classes themselves cannot be found in the docs page.

A good place to start is the tests for `ModalDialogTester` and `GuiTestAssistant` which provide a few examples of how the different methods on the classes can be used.

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.