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

Implementation of --run-system-tests for pytests breaks collection options #1906

Closed
samtygier-stfc opened this issue Aug 21, 2023 · 0 comments · Fixed by #2085
Closed

Implementation of --run-system-tests for pytests breaks collection options #1906

samtygier-stfc opened this issue Aug 21, 2023 · 0 comments · Fixed by #2085
Assignees

Comments

@samtygier-stfc
Copy link
Collaborator

Summary

To enable running of system tests we have a flag --run-system-tests. However the way that this is implemented breaks using --ignore pytest option. This is probably because it messes with the test collection methods. See conftest.py

Steps To Reproduce

pytest --ignore=mantidimaging/gui should run tests that are not in the gui directory.

Current Behaviour

All tests still run

--collect-only can be useful for debugging.

Context

current main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants