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

Why isnt there a "each_scenario" ? #145

Closed
kingbuzzman opened this issue Jul 16, 2018 · 2 comments
Closed

Why isnt there a "each_scenario" ? #145

kingbuzzman opened this issue Jul 16, 2018 · 2 comments

Comments

@kingbuzzman
Copy link

Why isnt there a "each_scenario" ? There is a "each_feature", "each_example", ... why is this one missing?

@koterpillar
Copy link
Member

each_example will run before/after each scenario once if the scenario has no examples, you most likely want this one. Or do you have a case where you need to distinguish between scenarios with and without examples?

@kingbuzzman
Copy link
Author

@koterpillar Oh it does? Should have looked into this a little more before posting. Is this documented anywhere? nm https://github.com/aloetesting/aloe#migrating-from-lettuce . I think this will do just fine.

Thanks.

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

No branches or pull requests

2 participants