Skip to content
Snippets Groups Projects
Commit b5bd8b3b authored by Evan Weible's avatar Evan Weible Committed by Nate Bosch
Browse files

Add file-based reporter support (#1129)

Add support for writing any reporter output to a file in addition to the
reporter on `stdout`. The `json` reporter is the primary use case.
Adds a `--file-reporter` CLI argument, and `file_reporters` yaml config
option.

- Add a `MultiplexingReporter` to allow wiring up multiple reporters to
  listen at once.
- Plumb through the configuration mapping a reporter to a file path.
- Instantiate each file reporter with a sink from the file instead of
  the normal `stdout`.
parent cd03013e
No related branches found
No related tags found
No related merge requests found
Showing
with 769 additions and 417 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment