-
Notifications
You must be signed in to change notification settings - Fork 260
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
Display an error when '--maximum-failed-tests' is used with a framework not implementing the required capability #4321
Display an error when '--maximum-failed-tests' is used with a framework not implementing the required capability #4321
Conversation
…rk not implementing the required capability
src/Platform/Microsoft.Testing.Platform/Extensions/AbortForMaxFailedTestsExtension.cs
Outdated
Show resolved
Hide resolved
@@ -713,4 +713,7 @@ Takes one argument as string in the format <value>[h|m|s] where 'value' is | |||
<value>Test session is aborting due to reaching failures ('{0}') specified by the '--maximum-failed-tests' option.</value> | |||
<comment>{0} is the number of max failed tests.</comment> | |||
</data> | |||
</root> | |||
<data name="AbortForMaxFailedTestsCapabilityNotAvailable" xml:space="preserve"> | |||
<value>The current test framework does not support '--maximum-failed-tests'.</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering if we should add even more details like they need to open a bug on the test framework repo.
Or change message to be The current test framework does not implement correctly the maximum failed test capability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Evangelink I chose a slightly different wording to mention the interface name IGracefulStopTestExecutionCapability
. Please let me know if you think what I chose is too wordy.
…rk not implementing the required capability (microsoft#4321)
No description provided.