feat: add new assertion type in test utils #3

Merged
Ghost merged 0 commits from refs/pull/3/head into main 2025-07-28 21:23:17 +01:00
Ghost commented 2025-07-28 21:22:55 +01:00 (Migrated from codeberg.org)

For a new benchmark I'm working on, I need tests to also assert that all implementations throw the same exceptions too. Updates TestUtils to have a new function to check this explicitly, and names both methods to follow a consistent convention.

These utilities are just wrappers around JUnit assertions that ensure all methods in an array assert the same value rather than doing assertions one-by-one.

For a new benchmark I'm working on, I need tests to also assert that all implementations throw the same exceptions too. Updates `TestUtils` to have a new function to check this explicitly, and names both methods to follow a consistent convention. These utilities are just wrappers around JUnit assertions that ensure all methods in an array assert the same value rather than doing assertions one-by-one.
Ghost commented 2025-07-28 21:23:18 +01:00 (Migrated from codeberg.org)

mentioned in commit 56b1041b82

mentioned in commit 56b1041b82898fb68afaf94b6c297bdc76353c19
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SethFalco/java-microbenchmarks!3
No description provided.