Add an analyzer for Task.Delay or Thread.Sleep in recorded tests
Open
API Analyzer
MQ
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 115
Description
We have a lot of recorded tests that take a long time because of delays added. We should recommend TestRetryHelper and possibly add DelayAsync to the RecordedTestBase.
/cc @AlexanderSher @JoshLove-msft @heaths in case there is any interest
Contributor guide
Research direction
No files or tests are named. Start by locating RecordedTestBase, TestRetryHelper, and recorded tests containing Task.Delay or Thread.Sleep; clarify whether both the analyzer and DelayAsync are required, then define completion as documented recommendations and agreed analyzer or helper coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100