Skip to content
New issue

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

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

Already on GitHub? # to your account

test: allow testing without Qt installed #332

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

tlambert03
Copy link
Member

we use Qt for testing, both to check our support for running within a Qt event loop, and also because the pytest-qt qtbot fixture is a convenient way to assert signals are emitted, even with psygnal.

It's long been on my todo list to bring something like qtbot.waitSignals to psygnal, but until I do that, we'll need to use pytest-qt.

This PR makes it possible to test stuff without Qt, just skipping those tests for now. which might be handy for #331

@tlambert03 tlambert03 merged commit 6b7dfc6 into pymmcore-plus:main Mar 1, 2024
19 checks passed
@tlambert03 tlambert03 deleted the no-qt branch March 1, 2024 22:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant