system-lambda
system-lambda copied to clipboard
System Lambda is a collection of functions for testing code that uses java.lang.System
- fix minor typos - allow tests to pass when run in IntelliJ (avoid unrunnable test classes) - enhance info about building and running tests
Please see PR #16 in which I replaced the implementation of the input stream with something from the default Java API. I don't see why the home-made implementation is better,...
Provided #13 to solve some cosmetic issues where the software wouldn't build on my environment
I was trying to save the logs from my callback method and it was not working . Is there a way to do it
It will be nice to be able to stub System.console() call to get test object.
Is there a way to capture the IO from a process built by ProcessBuilder like the following ? tapSystemErrAndOut(() -> { final Process process = new ProcessBuilder(commandLine).inheritIO().start(); process.waitFor(); });