Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`rtk dotnet test` counts a project once per output line that names its `.csproj`

Open Beginner friendly
#4,844 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ecoyoung is already working on this.

Since Oct 30, 2026.

  • #4845 by @ecoyoung — open
  • #4846 by @mrkayhyun — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli, testing

Research direction

Start by reading binlog::parse_test_from_text and count_projects, then check the existing tests for rtk dotnet test output parsing. Reproduce with warning lines that repeat each .csproj path and compare the reported count with the two projects that ran. Done means the summary counts each project once for plain output and with --logger trx.

Written by the indexing model from the issue text.

Description

area:cli bug dotnet good first issue priority:medium

rtk dotnet test reports one project per output line that names a .csproj, so warnings inflate the in N projects count.

Measured with the .NET 10.0.400 SDK on a solution with two xunit test projects, develop 7e92da00a:

command native rtk dotnet …
test -v q --filter 'FullyQualifiedName~Tests2.', restore printing 4 warning NU1900 lines (two per project) 2 test projects run (A total of 1 test files matched twice) fail dotnet test: 1 passed, 1 failed, 0 skipped, 4 warnings in 4 projects

binlog::parse_test_from_text sets project_count: count_projects(&scrubbed).max(1), and count_projects counts every PROJECT_PATH_RE match in the whole output. Each warning line names its project, so a project named in two warning lines is counted twice. The TRX-derived count (2 here) only replaces it when larger (trx_summary.project_count > summary.project_count), so the console count wins. Reproduced on develop with plain rtk dotnet test and with --logger trx; that line of parse_test_from_text has been there since v0.34.2.

A fix would count distinct projects, for example from the Test run for <dll> or Failed!/Passed! … - <dll> lines, rather than path matches.

Dominant language
Rust
Stars
85k
Forks
5.4k
Avg merge
6d 1h
Merged PRs (30d)
58

Getting set up

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.

More from rtk-ai/rtk

All issues in rtk-ai/rtk

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.