-
Notifications
You must be signed in to change notification settings - Fork 14
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
Implemented budgets #33
Merged
guillep
merged 15 commits into
pharo-contributions:master
from
DurieuxPol:feature/budget
Dec 8, 2023
Merged
Implemented budgets #33
guillep
merged 15 commits into
pharo-contributions:master
from
DurieuxPol:feature/budget
Dec 8, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…teResults` (only relevant for time budget)
Pull Request Test Coverage Report for Build 7143029780
💛 - Coveralls |
The time budget tests pass for me, but they seemingly fail in the CI. I'm going to change them and see. |
Interesting, the tests pass in Pharo11 but not in Pharo10. @DurieuxPol could you test in Pharo10? Also, maybe later we should
|
…m collection/stream compatibility
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added budgets to represent a cost that an execution of MuTalk cannot exceed.
Currently there are
MutationTestingFreeBudget
, which is essentially a budget with no constraint and do the same as before, without budgets, andMutationTestingTimeBudget
, which restrict the execution time with a time constraint.In my implementation, the beggining of the timer is at the start of the
run
method rather than before thegenerateResults
, so it takes into account the time to run the tests a first time before evaluating the tests with the mutants.Also, if the time constraint is exceeded while the tests are running against a mutant, the execution continues until all tests have finished, then the constraint blocks the next mutants from being evaluated.
An example of use: