- Bugfix: [#24]: Reset state between assertion calls.
- Bugfix: [#20]: Multiple calls to
System.exit()
do not always report the first exit status code.
- 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.
- Bugfix: [#12] ParameterizedTest does not work accurately.
- Make
SystemExitPreventedException
public and add astatusCode
getter. This should help with testing CLIs. - Add new
@FailOnSystemExit
annotation. When a test callsSystem.exit()
the JVM running the test will terminate (in most setups). Annotating a test with@FailOnSystemExit
will catch this condition and fail the test, rather than exiting the JVM the test is executing on.
- Do Not Use. Prefer 1.1.1 or 1.1.2 please.
- Initial Release.