microsoft / microsoft/testfx

Refine implementation of retry in dotnet test

Open
#5,361 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area/mtp area/mtp-retry external/dotnet-test needs/design
Dominant language
C#
Stars
1k
Forks
312
Avg merge
8h 30m
Merged PRs (30d)
469

Description

https://github.com/dotnet/sdk/pull/48075 this PR parses out the info about retry from commandline, and instead it should be told by the platform that retry is happening and only react to the messages.

Probably on the assembly start we want to have retry: true, and try: number, when retry is being used.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with PR #48075 and the current retry handling in dotnet test; trace where command-line retry information is parsed and where platform assembly-start messages are consumed. Done means retry handling relies on the platform messages, including the proposed retry and try values, with tests covering the updated behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.