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

Add doctest_fail_fast option to exit after the first failed test. #13332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tillahoffmann
Copy link

@tillahoffmann tillahoffmann commented Feb 12, 2025

This PR adds a doctest_fail_fast option for the doctest extension. When the flag is set, the doctest builder exits on the first failure it encounters. This behavior mirrors pytest -x to exit on the first failed test.

@tillahoffmann tillahoffmann force-pushed the doctest_fail_fast branch 3 times, most recently from b793f93 to 60b755e Compare February 12, 2025 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant