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

Warn if frameworks exceed the maximum number of test mutations #9667

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

Conversation

p8
Copy link
Contributor

@p8 p8 commented Mar 13, 2025

According to #8420 test mutations should be limited.

The number of test mutations will be limited to 10.

This change makes mutations fail for frameworks if the maximum is reached.
This change shows a warning message for frameworks if the maximum is reached.

@p8 p8 force-pushed the toolset/10-test-only branch from 382a454 to 5f06d66 Compare March 13, 2025 18:42
@msmith-techempower
Copy link
Member

I think what I would prefer is that users would get a warning when working on their implementation locally - specifically, it should call out that the max has already been reached, and if they are still set on getting their framework into the tests they need to contact maintainers and remove deprecated or discarded ones to make room.

This puts a lot of unfair effort on the part of a potential contributor to do more than just add their framework... I just don't have a better solution off hand.

@p8 p8 force-pushed the toolset/10-test-only branch from 5f06d66 to 21a552d Compare March 18, 2025 19:16
@p8
Copy link
Contributor Author

p8 commented Mar 18, 2025

@msmith-techempower I'm showing a warning now, similar to the warning if the "default" test variant is missing.

> The number of test mutations will be limited to 10.
TechEmpower#8420

This change shows a warning message for frameworks if the maximum is reached.
@p8 p8 force-pushed the toolset/10-test-only branch from 21a552d to a87fac5 Compare March 18, 2025 19:30
@p8
Copy link
Contributor Author

p8 commented Mar 18, 2025

Made sure broken tests aren't taken into account.

@p8 p8 changed the title Enforce limiting frameworks to a maximum number of test mutations Warn if frameworks exceed the maximum number of test mutations Mar 18, 2025
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.

2 participants