Suggestion on feature/scenario/step organisation #93
Unanswered
tngok-wustl
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Well, there's a few choices. If you're looking at unit tests, the DSL might be worth it. This is assuming you didn't want a separate feature file. This allows for very flexible code organization and could drive potentially different feature/scenario patterns. If that doesn't work for you, my advice is to stick with whatever seems readable. I'd imagine you would want a feature for cohesive sets of flows in your app. Perhaps a feature for all the navigation related to and multiple scenarios describing what happens within that. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I have managed to set up CucumberSwift BDD based on your tutorial steps. Now, I want to incorporate CucumberSwift to my project's unit test, which tests navigation between screens (view controllers). So, how would you suggest me organising the steps? Should I create one single features with multiple scenarios, or multiple features with one scenario for each, or something else? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions