Students often use System.exit() in interactive programs as an alternative to simply writing return in the main-method, because the concept of functions/methods has not been taught yet. This PR allows System.exit() to be used in Interactive tests without throwing an AssertionError.
In the future, this behaviour might be extended to mimic ExpectedSystemExit-behaviour.
Students often use
System.exit()
in interactive programs as an alternative to simply writingreturn
in themain
-method, because the concept of functions/methods has not been taught yet. This PR allowsSystem.exit()
to be used in Interactive tests without throwing an AssertionError.In the future, this behaviour might be extended to mimic
ExpectedSystemExit
-behaviour.