Qt and Python; code easily using the Pytest framework

December 1, 2019

TALK: Qt and Python; code easily using the Pytest framework SPEAKER: Florian Bruhin COMPANY: Bruhin Software TRACK: Python Talk recorded at the Qt World Summit 2019 event in Berlin. #QtWS19 November 2019 - BCC TALK DESCRIPTION: Both PySide and PyQt allow rapid prototyping and development of Qt applications using the Python programming language. However, the Qt Test framework is focused on C++, and only a subset of its functionality is available in Python. Together with the “unittest” module in the Python standard library (which exposes a heavyweight, xUnit-like API), this can make tests unnecessarily cumbersome to write. The pytest framework coupled with the pytest-qt plugin allows writing tests for Qt/Python code in a much more straightforward and fun way. It exposes the QTestLib API, but also adds various high-level functionality with an API which is more suitable for Python code. This talk will give the audience a short introduction to pytest and explain how to test Python/Qt code using the pytest-qt plugin. It will also take a quick look at other useful pytest plugins which can be combined with pytest-qt. Qt WEBSITE: For more info Qt, visit our site https://qt.io RESOURCES: For more videos from Qt visit our resource centre; https://resources.qt.io FOLLOW US ON SOCIAL: FB: https://www.facebook.com/qt/ LI: https://www.linkedin.com/company/4788... TW: https://twitter.com/qtproject THE Qt COMPANY Design - Develop - Deploy

Previous Video
Using containers for cross platform application development with Qt
Using containers for cross platform application development with Qt

TALK: Put your Application in a Container and Ship it to Many Embedded Devices SPEAKER: Valter Minute & Ste...

Next Video
The secret to enhancing Qt for Python applications
The secret to enhancing Qt for Python applications

TALK: Utilizing Shiboken to Enhance your Qt for Python Application SPEAKER: Sharon Woods COMPANY: The Qt Co...