swiftlang / swiftlang/swift-testing
Configurable log prefix
Open
@grynspan is already working on this.
Since Jun 12, 2024.
command-line experience
enhancement
- Dominant language
- Swift
- Stars
- 2.2k
- Forks
- 169
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 56
Description
Description
We are running test with lots of log output that are hard to run locally end-to-end, so we often have to rely on CI to get the results.
Getting these results is difficult because of how noisy the logs are. It'd be very helpful if we could set a custom prefix that is prepended to all testing output lines. That way we can filter/search the log chaos on a known string in the CI viewer and zero in on just the test failure output.
Would be great if this was a global config or even a per-test trait.
Expected behavior
Actual behavior
Steps to reproduce
No response
swift-testing version/commit hash
No response
Swift & OS version (output of swift --version && uname -a)
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.