Flight Log / microsoft/testfx #6123
Fix MSTEST0037 codefix to preserve message arguments in collection count transformations — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/testfx on Jul 22, 2025; merged clean in 18 h: +1,584 −152, 70 files, 11 reviews.
- Lines
- +1,584 −152
- Files
- 70
- Commits
- 10
- Reviews
- 11
- To merge
- 18 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
This fix task asks GitHub Copilot to correct the MSTEST0037 codefix so it preserves message arguments when transforming collection count assertions in microsoft/testfx. The change spans 70 files with 1584 additions and 152 deletions across 10 commits. It merged cleanly after 17.99 hours, with no changes requested and one review round.
From the pull request description
The MSTEST0037 codefix was dropping message arguments when transforming collection count assertions. Consider: ```csharp // Before (drops message argument): Assert.AreEqual(2, myCollection.Count, "Wrong number of elements"); // Was transformed to: Assert.HasCount(2, myCollection); // After this fi…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- —reviewed
- —reviewed
- —committedAmaury Levé
- —committedAmaury Levé
- —committedAmaury Levé
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
Read next
Cite this flight: AgentRiders Flight Log, microsoft/testfx#6123, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/testfx/6123/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.