approvals / ApprovalTests.cpp

Native ApprovalTests for C++ on Linux, Mac and Windows
https://approvaltestscpp.readthedocs.io/en/latest/
Apache License 2.0
318 stars 51 forks source link

Provide a way to launch reporters in foreground #98

Closed claremacrae closed 4 years ago

claremacrae commented 4 years ago

SystemLauncher currently runs the command in the background, I.e. does not block the running tests.

This has the benefit of allowing multiple test failures to be reviewed at a time, and for some diff tools, allows them to only appear to be launched once, and to show multiple differences in one window.

However, there are some cases where it would be good to run the launched process in the foreground.

For example

For example implementations, see

And for uses of these, see the reporters in https://github.com/claremacrae/ApprovalTests.cpp.Nursery/tree/master/ApprovalTestsNursery/reporters

claremacrae commented 4 years ago

This was released in version 8.4.0