Repository navigation
fix: validate verification and JSON arguments and treat throwing Times predicates as not met while waiting - #167
Merged
Conversation
…s predicates as not met while waiting Invalid counts, a missing predicate or interaction selector, and null or invalid expected JSON now fail where the caller passes them, with core's wording, instead of silently succeeding when negated, failing only during the evaluation or never matching. A Times predicate receives the count, which further interactions change, so like core's repeated checks an exception counts as not met while the verification waits and only fails it when the last check still throws.
|
vbreuss
enabled stacked auto-merge (squash)
October 10, 2026 08:10
vbreuss
disabled stacked auto-merge
October 10, 2026 08:25
Test Results 8 files ± 0 8 suites ±0 1m 9s ⏱️ +4s Results for commit 767c4e5. ± Comparison against base commit 6954156. This pull request removes 4 and adds 16 tests. Note that renamed tests count towards both. |
🚀 Benchmark ResultsDetails
|
👽 Mutation ResultsaweXpect.MockolateDetails
The final mutation score is 94.81%Coverage Thresholds: high:80 low:60 break:0 |
|
This is addressed in release v3.3.0. |
This file contains hidden or 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
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.



Invalid counts, a missing predicate or interaction selector, and null or invalid expected JSON now fail where the caller passes them, with core's wording, instead of silently succeeding when negated, failing only during the evaluation or never matching.
A Times predicate receives the count, which further interactions change, so like core's repeated checks an exception counts as not met while the verification waits and only fails it when the last check still throws.