Skip to content
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

Create commands for running/debugging tests #421

Closed
troydai opened this issue Jun 9, 2016 · 7 comments
Closed

Create commands for running/debugging tests #421

troydai opened this issue Jun 9, 2016 · 7 comments

Comments

@troydai
Copy link
Contributor

troydai commented Jun 9, 2016

No description provided.

@DustinCampbell DustinCampbell changed the title Add command to support keyboard shortcut for running / debugging test. Create commands for running/debugging tests Feb 7, 2017
@seesharper
Copy link

Any progress on this one ? :)

@troydai
Copy link
Contributor Author

troydai commented Sep 14, 2017

It is supported in c# extension. (I built it before I left the team a year ago.)

@seesharper
Copy link

and it is a great feature 👍 I was looking for a way to invoke the commands using keyboard shortcuts.
If you assign a shortcut and put the cursor either in the test name it self or in the body, it will not pick up the method name.

Debugging method '[object Object]'...

@DustinCampbell
Copy link
Member

Correct. Commands need to be added that query OmniSharp for the current method name before. This is on the backlog. Contributions are certainly welcome (especially if you'd like to see this sooner rather than later).

@xen22
Copy link

xen22 commented Apr 5, 2019

I also think this would be a great feature (i.e. having a shortcut to trigger the debugging of a test that has the cursor in it).. :-)

@jordimontana82
Copy link

Is it possible to tell the C# extension to use a specific configuration rather than just Debug?

Debug tests like this dotnet test --configuration MyConfig

@mikadumont
Copy link
Contributor

This should work in O#, C#, and Dev Kit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants