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

FailWhenNoTestsFound option (specified in docs) for vstest does not work #3848

Closed
vritant24 opened this issue Jul 12, 2022 · 2 comments
Closed
Labels

Comments

@vritant24
Copy link
Member

vritant24 commented Jul 12, 2022

in the documentation an option is provided /FailWhenNoTestsFound which when used doesn't work.
When used, I see the following error:
The argument /FailWhenNoTestsFound:true is invalid. Please use the /help option to check the list of valid arguments.
On seeing this comment in the merged PR I was able to find the right option.
The docs might need to be updated

AB#1865130

@nohwnd nohwnd added the sprint label Aug 3, 2023
@nohwnd
Copy link
Member

nohwnd commented Aug 3, 2023

Adding to spring because it is a small self contained change. Maybe it is already fixed.

@nohwnd
Copy link
Member

nohwnd commented Jul 8, 2024

The mention of the option was removed. <TreatNoTestsAsError>true</TreatNoTestsAsError> in runsettings is the way to force this behavior.

@nohwnd nohwnd closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants