How to emulate
-
keyboard inputs with Scanner and
-
console output with println/print/print
-
not yet implemented → https://www.baeldung.com/junit-tests-run-programmatically-from-java
-
Another alternative could be, starting the tests from command line
→ Junit 5 ConsoleLauncher