Skip to content

Conversation

sksamuel
Copy link
Member

Centralize all assertion handling into AssertionErrorBuilder.

  • This avoids the myriad of functions we had scattered about that created error messages used by assertion errors.
  • Propagates opentest4j comparison errors properly to team city output to show diffs in all contexts
  • Adds KMP handling for comparison errors
  • Moves all the non-shared assertions/helpers into the assertions core module, leaving the namespace unpolluted for anyone not using kotest assertions
  • Unifies types into the Printed typeclass. No custom plugin mechansim exists for Printed typeclasses, so it's safe to make breaking changes
  • Move the long defunct table testing code into its own module and deprecate it all

sksamuel added 3 commits July 27, 2025 14:29
* This avoids the myriad of functions we had scattered about that created error messages used by assertion errors.
* Propagates opentest4j comparison errors properly to team city output to show diffs in all contexts
* Adds KMP handling for comparison errors
* Moves all the non-shared assertions/helpers into the assertions core module, leaving the namespace unpolluted for anyone not using kotest assertions
 * Unifies types into the Printed typeclass. No custom plugin mechansim exists for Printed typeclasses, so it's safe to make breaking changes
 * Move the long defunct table testing code into its own module and deprecate it all
@sksamuel sksamuel requested a review from a team as a code owner July 28, 2025 03:29
sksamuel added 2 commits July 27, 2025 22:30
* This avoids the myriad of functions we had scattered about that created error messages used by assertion errors.
* Propagates opentest4j comparison errors properly to team city output to show diffs in all contexts
* Adds KMP handling for comparison errors
* Moves all the non-shared assertions/helpers into the assertions core module, leaving the namespace unpolluted for anyone not using kotest assertions
 * Unifies types into the Printed typeclass. No custom plugin mechansim exists for Printed typeclasses, so it's safe to make breaking changes
 * Move the long defunct table testing code into its own module and deprecate it all
* This avoids the myriad of functions we had scattered about that created error messages used by assertion errors.
* Propagates opentest4j comparison errors properly to team city output to show diffs in all contexts
* Adds KMP handling for comparison errors
* Moves all the non-shared assertions/helpers into the assertions core module, leaving the namespace unpolluted for anyone not using kotest assertions
 * Unifies types into the Printed typeclass. No custom plugin mechansim exists for Printed typeclasses, so it's safe to make breaking changes
 * Move the long defunct table testing code into its own module and deprecate it all
@sksamuel
Copy link
Member Author

Fixes #4884
Fixes #4710
Fixes #4645
Fixes #4435

@sksamuel sksamuel merged commit 88add1c into master Jul 28, 2025
6 checks passed
@sksamuel sksamuel deleted the sks/error-builders branch July 28, 2025 04:31
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.

1 participant