Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,21 @@ definition (such as with Qt Designer), you will need to recreate
pyuic4 --output Ui_MargaritaMixer.py MargaritaMixer.ui
```

## Comments from the blog article converted to issues
## History

This material was originally presented as sample code here on GitHub and a separate blog post https://johnnado.com/pyqt-qtest-example/. The blog post has been migrated so that everything is unified here on GitHub.
### Blog post for PyQt4

This material was originally presented by John McGehee for PyQt4 on July 31, 2011, in a blog post on `voom.net` and later `johnnado.com`. Sample code was presented separately on BitBucket, then GitHub.

### Unified on GitHub; blog post deprecated

On May 18, 2023, everything was unified on GitHub by migrating the blog post to this README file per [issue #7](https://github.com/jmcgeheeiv/pyqttestexample/issues/7). The blog post URL was permanently redirected to this GitHub repository.

The blog post accumulated comments containing useful solutions. These comments have been converted to GitHub issues:

* A user asked **how to test event handlers**. Another user proposed a solution. The entire discussion appears in [issue #2](https://github.com/jmcgeheeiv/pyqttestexample/issues/2).
* A user asked **how to test event handlers**. Another user proposed a solution. The entire discussion appears in [[issue #2](https://github.com/jmcgeheeiv/pyqttestexample/issues/2).
* A user found it easier to **test using pytest** because you can scope your fixtures. The entire discussion appears in [issue #3](https://github.com/jmcgeheeiv/pyqttestexample/issues/3).
* A user found a way to **test launching and accepting results from modal dialogs**. The entire discussion appears in [issue #4](https://github.com/jmcgeheeiv/pyqttestexample/issues/4).
* A user asks for a good way to **test the `getSaveFileName()` dialog**. The entire discussion appears in [issue #5](https://github.com/jmcgeheeiv/pyqttestexample/issues/5).