Skip to content

Make testing more robust #54

Description

@paulmueller

To make testing more robust, the main window should become a fixture, e.g. DCScope: https://github.com/DC-analysis/DCscope/blob/56b4304f5587e226b518de8e8c79e90356517d5e/tests/conftest.py#L20

What might also help against random CI failures (such as we are seeing for Python 3.11 in #52) might be to
add the main window to qtbot consistently: qtbot.addWidget(mw) https://github.com/DC-analysis/DCscope/blob/56b4304f5587e226b518de8e8c79e90356517d5e/tests/test_gui_filter.py#L58

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions