Creating a User
To get our first step to pass, we need to be able to create a user in our system. We could do that by walking around the UI, filling in the user registration forms and clicking buttons, but actually that’s not the point of this feature. Our goal is to build the page where you can see a user’s messages so we don’t need to worry about all that user registration stuff.
Let’s imagine we have a fast-forward button, and we skip past all the user registration to the point where the user has registered. What state is the system in now?
Well, we don’t know for sure because we haven’t built those screens yet, but it seems safe to assume that there would be a new row in the users table in our database. To get the system into that state, ...
Get The Cucumber Book now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.