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

Add xGiven / xWhen / xThen #1534

Closed
igorwojda opened this issue Jun 30, 2020 · 2 comments
Closed

Add xGiven / xWhen / xThen #1534

igorwojda opened this issue Jun 30, 2020 · 2 comments
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones. framework 🏗️ Pertains to the core structure and components of the Kotest framework.

Comments

@igorwojda
Copy link

BehaviorSpec allows us to easily disable test by adding singe character x before given \ when \ then. However this behaviour works only when we are using lowercase variants given / when / then.

We should add xGiven / xWhen / xThen to allow disabling tests by adding single x character for upper case variants.

@sksamuel sksamuel added enhancement ✨ Suggestions for adding new features or improving existing ones. framework 🏗️ Pertains to the core structure and components of the Kotest framework. labels Jun 30, 2020
@sksamuel
Copy link
Member

Done.

sksamuel added a commit that referenced this issue Jun 30, 2020
@igorwojda
Copy link
Author

WOW - this was quick - thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones. framework 🏗️ Pertains to the core structure and components of the Kotest framework.
Projects
None yet
Development

No branches or pull requests

2 participants