dependabot maven(deps-dev): bump junit5-system-exit from 1.1.2 to 2.0.0
Bumps junit5-system-exit from 1.1.2 to 2.0.0.
Release notes
Sourced from junit5-system-exit's releases.
Release 2.0.0 - New Java Agent-based Approach
Version 2.0.0 removes the terminally deprecated
SecurityManager
approach and now uses a Java Agent to rewrite bytecode as the JVM loads classes. Whenever a call toSystem.exit()
is detected, the JUnit 5 System Exit Agent replaces that call with a function that records an attempt to exit, preventing the JVM from exiting. As a consequence of rewriting bytecode, this library now has one dependency - ASM.Please see the Project README for comprehensive install instructions.
ChangeLog
- Remove terminally deprecated
SecurityManager
approach for preventingSystem.exit()
calls- Add Java Agent-based approach. Calls to
System.exit()
are rewritten as classes are loaded- Add AssertJ-style fluid assertions for cases when test authors do not want to use annotations, or want to write assertions after a
System.exit()
is detected- Upgrade Gradle to 8.10
- Upgrade JUnit to 5.11.0
- Switch to Kotlin DSL from Groovy DSL in Gradle build
- Switch to GitHub Actions for build runner
Changelog
Sourced from junit5-system-exit's changelog.
2.0.0
- Remove terminally deprecated
SecurityManager
approach for preventingSystem.exit()
calls.- Add Java Agent-based approach. Calls to
System.exit()
are rewritten as classes are loaded.- Add AssertJ-style fluid assertions for cases when test authors do not want to use annotations, or want to write assertions after a
System.exit()
is detected.
Commits
-
b782d38
v2.0.0 - Java Agent-based approach (#16) -
258efc9
Update README.md - See full diff in compare view