-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NUnit "run test" and "debug test" links in VS Code no longer work #1635
Comments
Any chance you could provide a project that reproduces the issue? From your 'dotnet --info' listing above, it appears that this is an older project.json-based .NET Core project? |
@DustinCampbell Thanks for the response. Unfortunately the project is a proprietary code base. It is a .NET Core, project.json project. It looks like -method is no longer supported either in dotnet-test-nunit, NUnit or the test runner harness but I suspect OmniSharp is actually initiating the call. It is hard to figure out who is making the call. Using -where "method=MethodName" works though. It seems like the format of the command line args "just" needs to be changed. This worked fine up until a month or two ago when I upgraded VSCode and OmniSharp and things broke. |
OmniSharp does have tests for NUnit that are currently passing: https://github.com/OmniSharp/omnisharp-roslyn/blob/master/test-assets/test-projects/LegacyNunitTestProject/project.json. |
Hmm I am using 3.6.0... I will try 3.5 and see if that makes a difference.
…On Thu, Jul 13, 2017 at 11:37 Dustin Campbell ***@***.***> wrote:
OmniSharp does have tests for NUnit that are currently passing:
https://github.com/OmniSharp/omnisharp-roslyn/blob/master/test-assets/test-projects/LegacyNunitTestProject/project.json
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1635 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABr2HYlNSTUDrjoRHvZQoY24vnDkf00Iks5sNjmygaJpZM4OWc4j>
.
|
@lgreenlee: Did that address the issue? |
Unfortunately, it did not
…On Tue, Jul 18, 2017 at 13:22 Dustin Campbell ***@***.***> wrote:
@lgreenlee <https://github.com/lgreenlee>: Did that address the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1635 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABr2HVeNbS6EMhZJhCKOh5BPNp4tOM7mks5sPOnQgaJpZM4OWc4j>
.
|
This should now be fixed. |
Environment data
dotnet --info
output:Product Information:
Version: 1.0.0-preview2-1-003177
Commit SHA-1 hash: a2df9c2576
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-x64
VS Code version:
C# Extension version:
1.11.0
Steps to reproduce
Load an NUnit based unit test
Click "Run Test" on a properly annotated test
Expected behavior
Test runs
Actual behavior
NUnit .NET Core Runner 3.4.0
Copyright (C) 2016 Charlie Poole
Invalid argument: -method
The text was updated successfully, but these errors were encountered: