question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

R# Reports all tests as Inconclusive for project with NUnit 3.12 + NUnit3TestAdapter 3.13 installed

See original GitHub issue

A coworker encountered this today while we were updating test dependencies. All our testing was on Visual Studio 2017, for projects targeting .NET 462.

It seems like, when running tests in R# for a test project with NuGet packages NUnit 3.12 + NUnit3TestAdapter 3.13 installed, R# reports the test status of all tests as inconclusive. We didn’t see this behaviour with NUnit 3.11.2 + NUnitTestAdapter 3.13, or with NUnit 3.12 and no test adapter installed as a NuGet package. It also worked as expected when using the latest version of the VS Extension Test Adapter with NUnit 3.12 + NUnit3TestAdapter 3.13 installed as NuGet packages.

Filing this here because it seems adapter-centric to me. I don’t have specifics on exact versions of R# or VS 2017 used, but VS 2017 is 15.9.*.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
luisdaglezcommented, Jul 11, 2019

@stevenaw you beat me to it by a couple minutes. Reproducible on a brand new from scratch solution. Visual Studio Professional 2017 v15.9.13 ReSharper Ultimate 2018.1 works with 3.11.2, does not work with 3.12.0 and 3.13.0

image

using NUnit.Framework;

namespace ClassLibrary
{
    public class Class1
    {
        [Test]
        public void Test1()
        {
        }
    }
}

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="NUnit" version="3.12.0" targetFramework="net462" />
  <package id="NUnit3TestAdapter" version="3.12.0" targetFramework="net462" />
</packages>
0reactions
OsirisTerjecommented, Jul 22, 2019

@stevenaw Thanks for your work here!
We then have a link to the existing issue, and I think we can then close this, and keep what you wrote above as documentation for this issue!
Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

NUnit marking inconclusive results as "Test Not Run"
The NUnit notion of an Inconclusive result doesn't exist in Visual Studio, so it has to be reported as something else.
Read more >
VS 2019 NUnit 3.12 tests Fails to run after first successful ...
So I deleted all references to NUnit in my 5 test projects and then reinstalled everything using NUnit 3.12.0 and the NUnit3TestAdapter 3.13.0, ......
Read more >
Adapter Installation
You'll need to install the adapter as a NuGet package for each of your test projects. Installing the NuGet Package. You will most...
Read more >
NUnit 3.13.3
It is suitable for projects that want to have a quick way to run tests using a console runner and don't need all...
Read more >
NUnit tests not running? : r/dotnet
I am trying to write some tests for my MVC web… ... Did you ale sure you have all the necessary packages installed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found