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

feat+fix: preserve test collection order #346

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

Commits on Jan 2, 2024

  1. feat+fix: preserve test collection order

    We run into issues with test ordering with some frequency in the ATS
    step in CI. This is because ATS scrambles the test order and this
    uncovers certain dependencies within tests.
    
    Sure there's some value in doing that, but fixing these issues is
    somewhat annoying and actually disrupts the workflow more than is
    helpful. Scrambling test order needs to be deliberate, not accidental
    
    These changes make sure that we preserve the order that pytest
    collected tests when deciding the order to run them.
    
    Notice that it can still run into ordering issues if a test that
    depends on another test does't get picked to run.
    giovanni-guidini committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    a4bad6b View commit details
    Browse the repository at this point in the history