System Stubs: Another Minor Release

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s