This way we can get output to stdout/stderr at the same time as writing to a file.
This solves a few nuisances:
If a test run crashes or times out, the log file might not be complete or processed correctly - basically lost. stdout/stderr is always captured, so this provides an additional source of information. Example issue: https://github.com/xamarin/maccore/issues/2414 - the test run times out / hangs, and there's no log file, so it's impossible to say which tests had been executed (if any at all).
When running a test locally, it's nice to see the progress.
This will change the default behavior to always print any output to stdout/stderr.
This way we can get output to stdout/stderr at the same time as writing to a file.
This solves a few nuisances:
This will change the default behavior to always print any output to stdout/stderr.