VOOZH about

URL: https://www.javacodegeeks.com/2021/01/system-stubs-another-minor-release.html

⇱ System Stubs: Another Minor Release - Java Code Geeks


In today’s new release of System Stubs there’s increased documentation for testing logging output, as well as a new class – MultiplexOutput which allows the tapped output stream – System.err or System.out to be directed to more than one place. This means that OutputFactories.tapAndOutput() can be used, in conjunction with the SystemOut class to direct the output both to a TapStream and ALSO the console.

In other words, you can capture the logs AND still have them appear.

It all sounds small, but these small improvements are intended to make the library more useful. Feedback via GitHub issues, please.

Published on Java Code Geeks with permission by Ashley Frieze, partner at our JCG program. See the original article here: System Stubs: Another Minor Release

Opinions expressed by Java Code Geeks contributors are their own.

Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy

Thank you!

We will contact you soon.

👁 Photo of Ashley Frieze
Ashley Frieze
January 26th, 2021Last Updated: January 27th, 2021
0 63 1 minute read

Ashley Frieze

Software developer, stand-up comedian, musician, writer, jolly big cheer-monkey, skeptical thinker, Doctor Who fan, lover of fine sounds
Subscribe

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Back to top button
Close
wpDiscuz