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

Display an error when '--maximum-failed-tests' is used with a framework not implementing the required capability #4321

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

Youssef1313
Copy link
Member

No description provided.

@Evangelink Evangelink changed the base branch from main to rel/3.7 December 11, 2024 19:59
@Evangelink Evangelink changed the base branch from rel/3.7 to main December 11, 2024 19:59
@Youssef1313 Youssef1313 marked this pull request as ready for review December 12, 2024 12:05
Evangelink
Evangelink previously approved these changes Dec 12, 2024
@@ -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>
Copy link
Member

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

Copy link
Member Author

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.

@Evangelink Evangelink merged commit b097a45 into microsoft:main Dec 12, 2024
10 checks passed
Evangelink pushed a commit to Evangelink/testfx that referenced this pull request Dec 12, 2024
@Youssef1313 Youssef1313 deleted the missing-capability-error branch December 12, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants