Skip to content

Conversation

Kantis
Copy link
Member

@Kantis Kantis commented Jun 1, 2024

When we throw an AssertionError and the matcher is actually used by an inverted matcher (i.e. we expect a failure), then the stacktrace is irrelevant.

Partially fixes #4041
#4048 fixes rest, but this fix can go into next patch and fixes 2/3rds of the performance costs

When we throw an AssertionError and the matcher is actually used by
an inverted matcher (i.e. we expect a failure), then the stacktrace
is irrelevant.
@Kantis Kantis added the assertions 🔍 Related to the assertion mechanisms within the testing framework. label Jun 5, 2024
@sksamuel
Copy link
Member

this good to go ?

@sksamuel sksamuel added this pull request to the merge queue Jul 20, 2024
Merged via the queue into master with commit 42aebe9 Jul 20, 2024
7 checks passed
@sksamuel sksamuel deleted the kantis/late-clean-stacktrace branch July 20, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assertions 🔍 Related to the assertion mechanisms within the testing framework.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Significant Performance bug with "shouldNotBe" in Property Tests
2 participants