Application Testing with Capybara by Matthew Robbins

By Matthew Robbins

In Detail

Everybody is aware why enforcing automatic exams is critical yet whilst constructing them may be expensive and time eating, and exams may be even be fragile and vulnerable to fake positives. through the use of Capybara, you could advance strong checks speedy and run them in a number of drivers making sure larger re-use; Capybara’s API additionally extends the human readable sort made favored by means of frameworks equivalent to Cucumber and RSpec.

"Application trying out with Capybara" takes you from fitting the gem to getting up and working with a YouTube seek situation in the first chapters. We then glance deeper into the API, utilizing Rack-Test for functions outfitted with Rails or Sinatra and notice the right way to try out deal with Asynchronous JavaScript and “black field” parts reminiscent of Flash. eventually, we think of a few complex subject matters akin to choices to Selenium and gaining access to the local motive force directly.

This e-book takes you from the fundamentals of putting in Capybara, via its API and onto complex issues. you'll easy methods to use Capybara’s large API to engage together with your program, masking themes resembling navigation, filling in types, and querying your web page for anticipated content material. past this we'll think of why Capybara is so compatible to trying out purposes written in frameworks resembling Rails and Sinatra. we'll examine techniques for validating probably “untestable” elements reminiscent of HTML5 or Flash through construction out a testable API. eventually we'll flip you right into a Capybara ninja by way of protecting complicated issues reminiscent of having access to performance within the base motive force, complicated motive force configuration, and substitute flavours of drivers outdoors Selenium and Rack-Test.

Approach

Start appearing integration trying out with Capybara instantly. This ebook gets you up and operating speedy and assumes no wisdom or adventure of the technology.

Who this booklet is for

This ebook is for builders and testers who've had a few publicity to Ruby yet who need to know easy methods to try their functions utilizing Capybara and its appropriate drivers, equivalent to Selenium-Webdriver and Rack-Test. The examples are intentionally stored easy and instance HTML mark-up is often incorporated so you might replica the examples to perform and scan by yourself machine.

Show description

Read Online or Download Application Testing with Capybara PDF

Similar application development books

Windows Phone 8: Grundlagen und Praxis der App-Entwicklung (German Edition)

Anhand von zahlreichen Beispielen zeigt dieses Buch, wie Sie erfolgreich Apps für Microsofts home windows mobile eight entwickeln. Zunächst werden die Programmierwerkzeuge vorgestellt. Danach widmet sich das Buch der Demonstration des Funktionalitäten des home windows mobile eight SDKs (Sensoren, Tiles, Locksreen, In-App computer screen, Spiele mit Direct 3D).

Mastering Node.js (Community Experience Distilled)

In DetailNode. js is a contemporary improvement stack fascinated about supplying a good way to construct scalable community software program. sponsored by means of progressively more huge businesses and a quickly expanding developer base, Node is revolutionizing the best way that software program is being equipped this present day. Powered by means of Google’s V8 engine and equipped out of C++ modules, it is a JavaScript setting for the firm.

Oracle ADF Faces Cookbook

Over eighty handson recipes protecting quite a few ADF Faces parts that can assist you create lovely person experiencesAbout This BookGet to understand what is new within the most up-to-date model of ADF Faces 12cMaster ADF Skinning to swiftly create extraordinary person experiencesCreate scalable, reactive functions utilizing ADF FacesWho This ebook Is ForIf you're an ADF developer who desires to harness the facility of Oracle ADF Faces to create unprecedented consumer interfaces and reactive purposes, this ebook offers you the recipes had to just do that.

Learning iOS UI Development

Key FeaturesBuild compelling person interfaces that clients will get pleasure from utilizing the iOS UIKit frameworkMake your iOS apps simply recognizable and acquainted with the UIKit frameworkUse this entire, step by step consultant to create an entire customized layoutBook DescriptionThrough this accomplished one-stop advisor, you will get to grips with the total UIKit framework and in a flash, you may be growing smooth consumer interfaces to your iOS units utilizing quick.

Additional info for Application Testing with Capybara

Sample text

Download PDF sample

Rated 4.21 of 5 – based on 9 votes