-
Notifications
You must be signed in to change notification settings - Fork 269
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
MSTest Runner (via dotnet test) ignores <IsTestingPlatformApplication>false</IsTestingPlatformApplication> #5181
Comments
Thanks for reporting this. @CoenraadS Can you try the 3.9 previews from @nohwnd I think MSTest.Sdk should change the default value of |
Should I use I tried to setup package mapping |
@CoenraadS To try out the previews, you'll need to add The latest preview package version is |
https://aka.ms/mstest/preview this is our full guide for previews. |
@Youssef1313 #4729 (comment) based on the comments from artur here, for .net setting isTestProject might not be enough, do we already handle the test container project capability? |
@nohwnd I guess that's different? I'm refering to
|
|
Describe the bug
I have a 'test utility' project, that does not contain any tests, but various helper methods.
I read the issue #4945
and applied
OutputType
&IsTestingPlatformApplication
attributesRun
dotnet test
Expected behavior
All tests except those marked with
<TestingPlatformDotnetTestSupport>false</TestingPlatformDotnetTestSupport>
are runActual behavior
Test utility project runs (and fails because it has no tests)
The text was updated successfully, but these errors were encountered: