T
T
TigerSHARC2020-02-19 15:14:50
Python
TigerSHARC, 2020-02-19 15:14:50

How to properly test a ready-made pyqt desktop application?

There is a ready pyqt application. It is necessary to cover the application with tests to the maximum. the first thing that comes to mind is to use pytest-qt: call the main application window, emulate button presses and analyze the results.
There is an option to test only the business logic, and mock everything related to the UI part.

Which approach is correct in terms of minimizing problems in the future when developing the application?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question