We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
test.skip
Sometimes you need to skip a test based on a condition, for example, only skip the test when run on Windows.
This would be kinda ugly to apply to the existing .skip modifier though:
.skip
test.skip(process.platform === 'win32')('x', t => { t.fail(); });
Maybe AVA could also support trailing modifiers:
test('x', t => { t.fail(); }) .skip(process.platform === 'win32');
The text was updated successfully, but these errors were encountered:
The "forkable test interface" I was looking to experiment with in #2435 would work for this.
I don't think we can easily add a trailing skip.
Sorry, something went wrong.
Was this ever implemented in any manner?
No.
No branches or pull requests
Sometimes you need to skip a test based on a condition, for example, only skip the test when run on Windows.
This would be kinda ugly to apply to the existing
.skip
modifier though:Maybe AVA could also support trailing modifiers:
The text was updated successfully, but these errors were encountered: