Style and capture log output in tests
Open
testing
- Dominant language
- Rust
- Stars
- 659
- Forks
- 36
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Description
Currently, an issue with the way that the rust test harness captures standard error and standard output interferes with `env_logger`'s ability to print styled output.
This means that we can either capture log output *or* have colored log output.
For now, I have it set up to print colored log output and not to capture log output in tests.
Contributor guide
Research direction
No file, test, or entry point is named. Start by investigating the Rust test harness interaction with env_logger, then determine whether the expected result is both captured and styled log output; done should resolve the stated conflict without losing the required test output behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100