Forum Discussion
aurelien-reeves
4 years agoStaff
Actually that depends on your own implementation.
Feature file are not code. They are structured documentation.
Cucumber Open allows you to add implementation to your features as part of step definitions and hooks, thus to interact with the system under test.
That means that, based on your example around the login, you could have a support method somewhere which logged a user in. That method could be called in a step as part of a scenario dedicated to test the login process for your user. And that exact same method could be called in hooks, or a step of a background, for other scenarios where the user should be logged-in.
Related Content
- 2 years ago
- 5 years ago
- 3 years ago
- 6 years ago
- 9 years ago
Recent Discussions
- 4 months ago
- 5 months ago