Application Testing with Capybara

Application Testing with Capybara pdf epub mobi txt 電子書 下載2025

出版者:
作者:Matthew Robbins
出品人:
頁數:104
译者:
出版時間:2013-9
價格:0
裝幀:平裝
isbn號碼:9781783281251
叢書系列:
圖書標籤:
  • Capybara 
  • Testing 
  • Rails 
  •  
想要找書就要到 小美書屋
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

One of my colleagues once described the Ruby community as “Test Infected” and if

any library epitomizes this it’s Capybara, which has gained popularity exponentially

since it was first released. The Ruby community certainly owes its creator Jonas

Nicklas a great deal of thanks for bringing peace and harmony to many test

automation code bases around the globe.

The proof of Capybara’s success is the way in which its use has spread far beyond

just testing Rails applications and now supports testing of many web applications

written in a wide variety of languages and frameworks. Capybara’s functionality

has also been replicated in languages other than Ruby again highlighting just how

powerful the concept is.

So what is Capybara?

Capybara provides a domain-specific language for test automation ; this DSL extends

the human-readable BDD style of frameworks such as Cucumber and RSpec into the

automation code itself. For example, opening a browser and navigating to a URL is

as simple as visit http://google.com. This is a vast improvement over typical

test APIs.

Additionally Capybara allows us to write tests once and run them in any compatible

driver. The driver ecosystem is vibrant and switching libraries is as simple as adding

an additional gem and making a one-line change to your code.

Finally, you can do away with writing bespoke methods that wait for content

to become visible or adding sleep statements to your tests; Capybara handles

asynchronous JavaScript without the user even noticing.

Capybara is quite literally your one-stop shop for test automation.

具體描述

讀後感

評分

評分

評分

評分

評分

用戶評價

评分

评分

评分

评分

评分

相關圖書

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有