Specify target framework when discovering tests
See original GitHub issueFirst of all, thanks for this awesome extension. Great work 👍
Would it be possible to somehow specify the target framework when doing test discovery?
Either group them in the explorer by target framework or simply make it a configuration value that can be passed to dotnet test -f netcoreapp2.0 -t -v=q
. Right Now you can’t really Go to test
since there are multiple matching symbols when you have a test project that is cross compiled.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
c# - How do you run unit tests for a specific target framework in ...
I found a workaround - to add a <TargetFramework> element with a specific framework...
Read more >Unit Tests Target Earlier Version of .NET Framework
When you create a test project in Microsoft Visual Studio, the most recent version of the .NET Framework is set as the target,...
Read more >Running tests in a csproj with multiple TargetFrameworks #624
I want the UI to discover tests for all frameworks and then let me choose whether to run tests from all frameworks (e.g....
Read more >Getting Started: .NET Framework with Visual Studio > xUnit.net
In this article, we will demonstrate getting started with xUnit.net, showing you how to write and run your first set of unit tests....
Read more >Running tests in a csproj with multiple TargetFrameworks
I want the UI to discover tests for all frameworks and then let me choose whether to run tests from all frameworks (e.g....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tool a quick look at it and in the case I’ve described previously, the location of the methods are identical. Which means the we could take the method location into consideration when trying to come up with an unique symbol. If they are different, which should be rare, it makes sense to either abort or give the user the ability to choose.
Should be fixed with 0.5.4