Skip to content
This repository was archived by the owner on Nov 27, 2017. It is now read-only.
This repository was archived by the owner on Nov 27, 2017. It is now read-only.

Cannot run NUnit with ReSharper #106

@tpluscode

Description

@tpluscode

Sorry if this is not the right place to ask. I'm converting a project to project.json and dotnet test works fine in console. I updated to R# 2016.3.2 and my tests are discovered in VS. Unfortunately I cannot run them. When I try, no tests are executed and the Unit Test Session window displays an exception stack trace:

ERROR System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at JetBrains.ReSharper.UnitTestFramework.Launch.Stages.DiscoveryStage.Run(CancellationToken token)
   at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestLaunch.RunStage(Object stageObject)
---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---

My project.json is as follows (relevant parts):

{
 "dependencies": {
    "NUnit": "3.6.1",
    "dotnet-test-nunit": "3.4.0-*"
  },
  "testRunner": "nunit"
}

Is there anything I can try?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions