Releases: rife2/bld-testing-helpers
Releases · rife2/bld-testing-helpers
Release list
1.1.0
Summary
- Moved to
rife.bld.testingand renamed toTesting Helpers - Migrated to JSpecify null-safety
- Made
RetryTesta@TestTemplate - Added
withExceptionsfiltering to@RetryTestwith cause-chain matching - Implemented
BlankSourceannotation - Fixed race and overflow issues
What's Changed in 1.1.0
- Set source encoding to UTF-8 in 142beb8
- Migrate to JSpecify null-safety, fix LoggingExtension race condition, and switch to fail-fast NPEs instead of silent null handling in 24fcb0e
- Migrate to JSpecify null-safety
- Fix
LoggingExtension.afterEach/beforeEachrace: snapshot/restore now happens insidesynchronized(logger), and per-class config removal uses atomicMap.computeinstead of a separate get+remove - Change
TestLogHandlerandTestingUtils.generateRandomStringto throwNullPointerExceptionon null arguments instead of silently returningfalse/0/empty results — updated all corresponding tests toassertThrows - Add
ChronologicalPrintStream.write(int)override and force explicit UTF-8 encoding instead of platform default charset; make null-arg print/println/append methods record"null"consistently instead of skipping the chronological entry - Fix
TestingUtils.randomIntoverflow whenmax == Integer.MAX_VALUE
- Fix README documentation links in 7dc3d1f
- Add
withExceptionsfiltering to@RetryTestwith cause-chain matching in f9b932b - Make
RetryTesta@TestTemplatein 22d064c - Implement
BlankSourceannotation in 451f043 - Add purge-cache workflow in 2d3326e
- Move entire project to
rife.bld.testingand rename toTesting Helperin d4dee5e
Full Changelog: 1.0.1...1.1.0
1.0.1
Summary
- Full null-contract enforcement
- Removed conflicting tools dependency
What's Changed in 1.0.1
- Add nullability contract for overridden methods in f225bfb
- Removed Extensions Tools conflicting dependency in 50eddd2
Full Changelog: 1.0.0...1.0.1
1.0.0
Summary
- Use
Optionalwhere applicable (breaking) - When closing a
TestLogHandler, records are no longer cleared (breaking) - Refactoring of:
CaptureOutputCouldFailrExtensionLoggingExtensionRangeResolverRetryExtensionTestingUtils
What's Changed in 1.0.0
- Improve
generateRandomStringalgorithm in 966a76f - Update
getLastRecord(),getFirstRecordContaining()andgetLastRecordContaining()to return `Optional`` in e3c8455 TestLogHandlerrecords are no longer cleared onclosein 988ca2c- Improve logging and large size handling in 181d20b
- Refactor
LoggingExtensionto eliminate race conditions when tests run concurrently in 93b6511 - Improve
CouldFailExtensionlogging in c8d0647 - Refactor
CaptureOutputto use record and stream in a5f1dfa - Improve
RetryExtensionerrors logging in d5ab23a - Refactor
RandRangeResolverwith improved logging and implementation of the Fisher-Yates shuffle in 9bb3ca0
Full Changelog: 0.9.6...1.0.0
0.9.6
Summary
- New
@CouldFailannotatation and related extentions - Refactor
@RandomRangeand@RandomStringto extends their related extensions - Use Extensions Tools where applicable
What's Changed in 0.9.6
- Simplify logging in
CouldFailExtensionin 3f21968 - Annotate
@RandomRangeand@RandomStringwith JUnit extension support. in cbf3b92 - Introduce @CouldFail annotation and CouldFailExtension for managing test failures in f64cc51
- Use IOTools to resolve test results directory in dd7e40c
- Use TextUtils for null/empty string checks in 708ec89
- Add CONTRIBUTING.md in e90477e
Full Changelog: 0.9.5...0.9.6
0.9.5
Summary
- Add support for List and Set to RandomString annotation
- Add methods to print log messages
What's Changed in 0.9.5
- Bump JUnit Reporter extension to version 0.9.2 in c75007d
- Bump Mockito to version 5.21.0 in 7d35f05
- Add support for List and Set to RandomString annotation in 69cc438
- Bump PMD extension to version 1.4.0 in 714ab71
- Add SpotBugs dependencies and related fixes in 20bd36f
- Use shields.io for badges instead of badgen.net in caf55f8
- Bump Checkout actions to version 6 in a81b73c
- Add methods to print log messages in 64b7f55
- Ensure reporter step is always activated in 908368b
- Bump JUnit to version 6.0.1 in d2e30a8
- Clean up Javadoc in 55b6674
Full Changelog: 0.9.4...0.9.5
0.9.4
0.9.3
Summary
- New EnabledOnCi annotation
- New RetryTest annotation
- Capture and store stdout/stderr output chronologically
What's Changed in 0.9.3
- Fix reporter steps in f067fbd
- Implement EnabledOnCi annotation in 979a1b3
- Minor Javadocs cleanups in 2db6d40
- Implement RetryExtension and RetryTest annotation in fbbf8e6
- Bump Mockito to version 5.20.0 in a33d414
- Run reporter on tests failure in d1a5a03
- Bump PMD extension to version 1.3.3 in fa01d5d
- Use platform-specific line separator in tests where applicable in 19f3af4
- Capture stdout and stderr in the order they were received and preserve the chronological order of output between the two streams in bc385dd
Full Changelog: 0.9.2...0.9.3