modern-java-practices icon indicating copy to clipboard operation
modern-java-practices copied to clipboard

Readability of function name -- system lambda

Open binkley opened this issue 1 year ago • 1 comments

@jwlibby I moved this card to review. Essentially: review PR https://github.com/binkley/modern-java-practices/pull/601. If you're OK with the PR, merge and this card is done. Else, we should move the card back and discuss.


https://github.com/binkley/modern-java-practices/blob/master/src/integrationTest/java/demo/ApplicationTest.java

Alternatives for Stephan Birkner's system lambda library -- method names are obscure.

Refs

  • https://openwritings.net/pg/java/how-capture-and-store-console-output-systemoutprintln -- roll our own implementation
  • https://github.com/binkley/modern-java-practices/blob/replace-system-lambda/src/test/java/demo/TerminalContext.java - example code of rolling our own capture of stdout/stderr for tests

binkley avatar May 21 '24 15:05 binkley

@jwlibby What do you think of rolling our own replacement functions for "system-lambda"? We don't need the full feature set. I do like mentioning the library in the page on integration testing, however: it is hard to find online docs for testing console output.

binkley avatar Jul 27 '24 14:07 binkley

looked at this again, I'm fine w it

jwlibby avatar Aug 05 '24 22:08 jwlibby