Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Qt for Python
Logo
Qt for Python
  • Getting Started
  • Commercial Use
  • Building from Source
  • Package Details
  • Modules API
    • Qt Modules Supported by Qt for Python
      • PySide6.Qt3DAnimation
      • PySide6.Qt3DCore
      • PySide6.Qt3DExtras
      • PySide6.Qt3DInput
      • PySide6.Qt3DLogic
      • PySide6.Qt3DRender
      • PySide6.QtAsyncio
      • PySide6.QtBluetooth
      • PySide6.QtConcurrent
      • PySide6.QtCore
      • PySide6.QtDBus
      • PySide6.QtDesigner
      • PySide6.QtGraphs
      • PySide6.QtGraphsWidgets
      • PySide6.QtGui
      • PySide6.QtHelp
      • PySide6.QtHttpServer
      • PySide6.QtLocation
      • PySide6.QtMultimedia
      • PySide6.QtMultimediaWidgets
      • PySide6.QtNetwork
      • PySide6.QtNetworkAuth
      • PySide6.QtNfc
      • PySide6.QtOpenGL
      • PySide6.QtOpenGLWidgets
      • PySide6.QtPdf
      • PySide6.QtPdfWidgets
      • PySide6.QtPositioning
      • PySide6.QtPrintSupport
      • PySide6.QtQml
      • PySide6.QtQuick
      • PySide6.QtQuick3D
      • PySide6.QtQuickControls2
      • PySide6.QtQuickTest
      • PySide6.QtQuickWidgets
      • PySide6.QtRemoteObjects
      • PySide6.QtScxml
      • PySide6.QtSensors
      • PySide6.QtSerialBus
      • PySide6.QtSerialPort
      • PySide6.QtSpatialAudio
      • PySide6.QtSql
      • PySide6.QtStateMachine
      • PySide6.QtSvg
      • PySide6.QtSvgWidgets
      • PySide6.QtTest
        • PySide6.QtTest.QAbstractItemModelTester
        • PySide6.QtTest.QSignalSpy
        • PySide6.QtTest.QTest
      • PySide6.QtTextToSpeech
      • PySide6.QtUiTools
      • PySide6.QtWebChannel
      • PySide6.QtWebEngineCore
      • PySide6.QtWebEngineQuick
      • PySide6.QtWebEngineWidgets
      • PySide6.QtWebSockets
      • PySide6.QtWebView
      • PySide6.QtWidgets
      • PySide6.QtXml
  • Tools
  • Tutorials
  • Examples
  • Videos
  • Deployment
  • Considerations
  • Developer Notes
  • Release Notes
  • Module Index
Back to top

PySide6.QtTest¶

  • PySide6.QtTest.QAbstractItemModelTester
  • PySide6.QtTest.QSignalSpy
  • PySide6.QtTest.QTest

Detailed Description¶

To include the definitions of the module’s classes, use the following directive:

import PySide6.QtTest

Note

Not all macros in the C++ version of QtTest were exposed in PySide. This module is useful only for GUI testing and benchmarking; for ordinary unit testing you should use the pytest Python module.

List of Classes¶

A

  • QAbstractItemModelTester

S

  • QSignalSpy

T

  • QTest

Next
PySide6.QtTest.QAbstractItemModelTester
Previous
PySide6.QtSvgWidgets.QSvgWidget
Copyright © 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 (https://www.gnu.org/licenses/fdl.html) as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.
Made with Sphinx and @pradyunsg's Furo
On this page
  • PySide6.QtTest
    • Detailed Description
    • List of Classes