nunit / nunit/nunit-console

Overall result: Unknown

Open
#727 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Needs Confirmation V4
Dominant language
C#
Stars
234
Forks
163
Avg merge
13h 32m
Merged PRs (30d)
25

Description

Hello, the weird thing happens with latest 3.10.0 console runner. It returns "unknown" test result.

  Test Run Summary
  Overall result: Unknown
  Test Count: 0, Passed: 0, Failed: 0, Warnings: 0, Inconclusive: 0, Skipped: 0

Same thing happens on 3.9.0, 3.8.0. Only 3.7.0 works almost fine, except it returns a bunch of errors for projects without tests.

No suitable tests found in... Either assembly contains no tests or proper test driver has not been found.

For project files loading it uses NUnit.Extension.VSProjectLoader v.3.8.0

used command line:

nunit3-console.exe --noresult --labels=All --framework=net-4.5 --config=Debug --domain=Multiple  solution_file.sln

The first question, is there a way to disable No suitable tests found in in 3.7.0 runner? And the second, why happens result: Unknown in newer versions 😄 If needed, I can provide logs from runner.
Thanks in advance!

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 by running the reported nunit3-console.exe command against the supplied solution with the --noresult, --framework=net-4.5, --config=Debug, and --domain=Multiple options, comparing versions 3.7.0 through 3.10.0. Inspect the console output and NUnit.Extension.VSProjectLoader 3.8.0 behavior to determine why the newer versions report Unknown and whether the no-tests message can be disabled; done means documenting both causes or confirming the required logs or reproduction details.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.