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 random order seed to test recap #318

Open
wants to merge 1 commit into
base: v8.x
Choose a base branch
from

Conversation

jwpage
Copy link

@jwpage jwpage commented Dec 7, 2024

This PR adds the random order seed to the test recap output, if the order has been set as random (either via phpunit.xml or --order=random).

This is useful if you have a particular random order that is failing (suggesting an unintended test dependency) and you want to re-test with the same random order (by passing --random-order-seed=<seed>)

If you haven't set it to random order then the recap is unchanged and does not include the random order seed.

Example with --order=random:
CleanShot 2024-12-08 at 09 20 03@2x

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