Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail tests if there are any widgets left open #2150

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Commits on Apr 29, 2024

  1. Fail tests if there are any widgets left open

    Qt widgets that are not cleaned up after a test can affect the following
    tests. This change makes it so that tests that do not clean up after
    themselves will error.
    matrss committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9371341 View commit details
    Browse the repository at this point in the history
  2. Close and delete Qt widgets that are under test

    By using qtbot.add_widget on the created widgets they will be
    automatically closed and deleted after each test.
    matrss committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    60bee91 View commit details
    Browse the repository at this point in the history
  3. WIP

    matrss committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    5a65510 View commit details
    Browse the repository at this point in the history