The Cucumber Book: Behaviour-Driven Development for Testers and Developers by Wynne Matt & Hellesoy Aslak & Tooke Steve

The Cucumber Book: Behaviour-Driven Development for Testers and Developers by Wynne Matt & Hellesoy Aslak & Tooke Steve

Author:Wynne, Matt & Hellesoy, Aslak & Tooke, Steve [Wynne, Matt]
Language: eng
Format: azw3
Tags: Pragmatic Bookshelf
Publisher: Pragmatic Bookshelf
Published: 2017-02-16T16:00:00+00:00


Bootstrapping the User Interface

Now that we have a model we’re happy with, we’re going to wrap it in a simple user interface that allows the user to specify how much cash they want to withdraw. Even though it might not be a typical choice for a real ATM, we’re going to use a web form. We’ll use the Sinatra[35] web framework to serve our user interface, and we’ll use the Capybara[36] gem to automate it. We won’t go into detail about how Capybara works here, but you’ll learn more in Chapter 15, ​Using Capybara to Test Ajax Web Applications​. We’ll start by adding the necessary gems to our project and getting the web server up and running.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.