-
Notifications
You must be signed in to change notification settings - Fork 2
Release notes
Oswaldo Baptista Vicente Junior edited this page Jul 11, 2026
·
3 revisions
-
issue/0050: New method
ExceptionMathcher.throwsException(Exception)by @oswaldobapvicjr - issue/0055: Add Java 25 to the build matrix in maven.yml by @oswaldobapvicjr
- issue/0056: Upgrade junit-jupiter-api to 5.14.2 by @oswaldobapvicjr
- issue/0060: Move release workflow to GHA by @oswaldobapvicjr
-
issue/0059: Cache throwable in
ExceptionMatcherto avoid executing procedure twice by @lellisls
-
issue/0043: New
StringMatcher.containsAllInSequence(String...)
-
issue/0042: Upgrade
org.junit.jupiter:junit-jupiter-apito 5.11.4
-
issue/0033: New
ExceptionMatcher.with(Function, Matcher)to extract and validate custom values
-
issue/0032: Upgrade
org.junit.jupiter:junit-jupiter-apito 5.10.2
- issue/0030: Upgrade to JUnit 5
- issue/0031: Upgrade CI/CD setup
-
issue/0039: New
ExceptionMatcher.with(Function, Matcher)(cherry-picked from issue/0033) - issue/0041: Adapt issue/0033 to JUnit 4
-
issue/0028: Nested
ExceptionMatcherfor enhanced cause validation - issue/0029: Add support to JDK 21 LTS
- issue/0026: Allow testing functions that throw checked exceptions
-
issue/0024: New
TestUtilmethods:assertPositiveNumber()andassertNegativeNumber() - Add support to JDK 19
-
issue/0022: New
ExceptionMatchermethods:throwsException()andthrowsNoException() - General Javadoc improvements
-
issue/0020: New number matchers:
IsPositive/IsNegative - General Javadoc improvements
-
issue/0016: Combining
ExceptionMatcherwithInstantiationNotAllowedMatcher -
issue/0018: New
AdvancedMatchersclass
-
issue/0013: Combining String Matchers with
ExceptionMatcher - issue/0015: Upgrade JUnit dependency from 4.13 to 4.13.1
-
issue/0009:
ExceptionMatcherfix to allow matching subclasses of expected exception or cause
-
issue/0007:
StringMatcherJavadoc examples included -
issue/0008:
StringMatcherenhancement to accept anyCharSequence(e.g.,StringBuilder,StringBuffer)
- New matchers for use with
org.hamcrest.MatcherAssert:- ExceptionMatcher: Matches if a procedure throws an expected exception, message, or cause
- InstantiationNotAllowedMatcher: Matches if a class cannot be instantiated
- StringMatcher: Evaluates string contents by matching substrings
- Documentation improvements
Includes TestUtils, a static class with assertions:
- Methods to assert expected exceptions and details (message, cause)
- Methods to ensure a class cannot be instantiated (useful for utility classes)
- Methods for string assertions
For more information or suggestions for improvement, visit: https://obvj.net/junit-utils