-
Notifications
You must be signed in to change notification settings - Fork 124
Hard to choose target runtime for IDE-integrated test runner #50
Comments
Not sure how or why I closed this - but this is still a really awkward thing to do; @vijayrkn - did you ever get a chance to look at this? |
Are you using the latest preview2 tooling? Test runner uses the first target framework in project.json. |
Yes I'm using all the current tooling, but ... yikes, that's not intuitive On Fri, 8 Jul 2016 17:35 Vijay Ramakrishnan, notifications@github.com
|
Are there planned improvements to this? |
There is a work item to support running tests for all frameworks in project.json so that switching frameworks wont be required. This needs the trait support to be implemented first. (https://github.com/dotnet/cli/issues/2252) |
/cc @plioi looks like what we talked about re: tests in Parsley |
TFS Bug#241358 |
The GitHub Issue Tracker for the aspnet/Tooling repo is being deprecated in favor of Visual Studio's Report a Problem tool. If this issue is still a problem with the RTW release of Visual Studio 2017, please report a new issue using the Report a Problem tool. While you can still use .NET Core and ASP.NET Preview tools with Visual Studio 2015, Visual Studio 2017 is now the officially supported tool for developing .NET Core and ASP.NET Core projects. By using the Report a Problem tool (available in both VS 2017 and VS 2015), you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See Visual Studio's Talk to Us page for more details. Please use the discussion topic here for feedback and questions on the deprecation of this issue tracker. Thanks! |
This is now being tracked on the Microsoft/vstest repo as microsoft/vstest#624 and microsoft/vstest#298 |
At the moment, the only way I've found to change the target runtime for the test runner is via project properties.Edit: scratch that - that doesn't actually seem to work; nothing seems to work! I have coreclr as my default, and both my test project and library project set to use a specific runtime: coreclr - and the IDE test runner is still using clrCompared to how easy it is to play or run the console test tool (awesome drop down, thanks) and view code (top left of edit window, also awesome) for different runtimes, this feels awkward.
I don't know how much is possible, but one thing in particular that I notice: if you run a test from the editor, it still uses the project properties runtime, not the top-left-picker runtime.
The text was updated successfully, but these errors were encountered: