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

[tracker] [tests] Python test suite reliability: striving for non-flaky, parallelizable, random-orderable tests. #12191

Open
5 of 11 tasks
jayaddison opened this issue Mar 23, 2024 · 0 comments
Labels
help wanted python Pull requests that update Python code type:task type:tests

Comments

@jayaddison
Copy link
Contributor

jayaddison commented Mar 23, 2024

This is an umbrella issue to track progress making the Sphinx test suite reliable. That means:

  • No flaky tests.
  • Tests can run in parallel.
  • Tests are independent of each other.

Regarding the last item: test independence is important to ensure that each test is checking the behaviours it claims to, and does not inadvertently rely on the side-effects of some other test. Similarly, a test must not begin failing if any other test is run before it -- if it does, that could mean (but does not definitely mean) that the application's behaviour itself may vary based on the order in which code is evaluated.

It might seem like there are a large number of items here! However, please bear in mind that we have a total of more than 2000 individual pytest test cases that run.

Test flakiness

Test parallelization

Test independence

@jayaddison jayaddison added type:tests python Pull requests that update Python code labels Mar 23, 2024
@picnixz picnixz pinned this issue Mar 23, 2024
@picnixz picnixz changed the title [meta-issue] [tests] Python test suite reliability: striving for non-flaky, parallelizable, random-orderable tests. [tracker] [tests] Python test suite reliability: striving for non-flaky, parallelizable, random-orderable tests. Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted python Pull requests that update Python code type:task type:tests
Projects
None yet
Development

No branches or pull requests

2 participants