-
Notifications
You must be signed in to change notification settings - Fork 13
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
Global fallback for missing calls to Skip.If() #27
Comments
What is a 'global fallback'? |
Some kind of a default action set in config file or global state.
… On 4 Sep 2022, at 17:08, Andrew Arnott ***@***.***> wrote:
What is a 'global fallback'?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
I'm afraid I'm still not understanding. Can you provide an example? From the test extension's perspective, we have 0 insight into whether the test method may or may not execute a |
I would like the default behavior to be skipped. I can see that this is
technically not possible, because you have to run something. But if a call
to `Skip.If` was never called, then the test could fail with a message
explaining what was forgotten.
…On Sun, Sep 4, 2022 at 10:34 PM Andrew Arnott ***@***.***> wrote:
I'm afraid I'm still not understanding. Can you provide an example?
From the test extension's perspective, we have 0 insight into whether the
test method may or may not execute a Skip.If() call before the test
method is executed. And if the test method executes and Skip is never
called, we can't tell that either. And even if we could tell, it's
perfectly valid for a branch in the test to have skipped the call to
Skip.If. What would this 'default action' do anyway?
—
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD3IM6ETJ7FS2VLTDTBFKLV4UBUJANCNFSM6AAAAAAQC6YRME>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sorry. That would be a significant breaking change, and force a bunch of users' tests to put in a stub |
Would it be possible to create a global fallback for missing calls to
Skip.If(...)
?The text was updated successfully, but these errors were encountered: