Application Testing with Capybara by Matthew Robbins

Application Testing with Capybara by Matthew Robbins
Application Testing with Capybara By Matthew Robbins
2013 | 104 Pages | ISBN: 1783281251 | EPUB | 1 MB

Everybody understands why implementing automated tests is important but at the same time developing them can be costly and time consuming, and tests can be also be fragile and prone to false positives. By using Capybara, you can develop robust tests quickly and run them in multiple drivers ensuring greater re-use; Capybaras API also extends the human readable style made popular by frameworks such as Cucumber and RSpec. "Application Testing with Capybara" takes you from installing the gem to getting up and running with a YouTube search scenario within the first two chapters. We then look deeper into the API, using Rack-Test for applications built with Rails or Sinatra and see how to test handle Asynchronous JavaScr and œblack box components such as Flash. Finally, we consider some advanced topics such as looking at alternatives to Selenium and accessing the native driver directly. This book takes you from the basics of installing Capybara, through its API and onto advanced topics. You will learn how to use Capybaras extensive API to interact with your application, covering topics such as navigation, filling in forms, and querying your page for expected content. Beyond this we will consider why Capybara is so well suited to testing applications written in frameworks such as Rails and Sinatra. We will look at strategies for validating seemingly œuntestable components such as HTML5 or Flash by building out a testable API. Finally we will turn you into a Capybara ninja by covering advanced topics such as accessing functionality in the base driver, advanced driver configuration, and alternative flavours of drivers outside Selenium and Rack-Test.


Alternate Link for Application Testing with Capybara by Matthew Robbins.rar When above links are dead

Hello Respective Visitor!

Please Login or Create a FREE Account to gain accesss to hidden contents.


Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.