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
Qt in university education for automotive engineers
Qt in university education for automotive engineers

TALK: Qt in University Education for Automotive Engineers SPEAKER: Torsten Wylegala COMPANY: Ostfalia Univ...

Next Video
Qt & Yocto, an ECU development workflow
Qt & Yocto, an ECU development workflow

TALK: ECU Development Workflow with Qt & Yocto SPEAKER: Andreas Cord Landwehr COMPANY: CLAAS E Systems TR...