Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Oct 5, 2025

preparation for infection

@staabm staabm marked this pull request as ready for review October 5, 2025 06:38
@VincentLanglet
Copy link
Contributor

Out of curiosity, what's the benefit for infection ?

@staabm
Copy link
Contributor Author

staabm commented Oct 5, 2025

Infection optimzes performance by running only selected/filtered parts of the test-suite.

For this to work reliably its important that tests define dependencies properly.
Ordering and dependency problems of a test-suite surface best when running it in random order

@ondrejmirtes ondrejmirtes merged commit 873c32c into phpstan:2.0.x Oct 6, 2025
35 of 37 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the rand branch October 6, 2025 09:05
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.

3 participants