Output on error
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2
- Forks
- 2
- Avg merge
- 12h 42m
- Merged PRs (30d)
- 2
Description
Create a new API that allows a test to output a file/string only if there was an error in the erro report. Something like tc.LogOnError(fmt, ...), the logs would get rendered by Sprintf and stored in a queue, printed in FIFO order during the failure report. Possibly at the end. We could also consider adding a title, and on ADO print it as a subgroup.
This variable should be cleared to save memory if the test passed.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by locating the test context and failure-report path described in the issue, then trace how errors are rendered. Review the proposed LogOnError formatting, FIFO storage, optional title, ADO subgroup output, and cleanup after passing tests. Done means the behavior is specified and covered for both passing and failing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100