Effective Testing with RSpec 3: Build Ruby Apps with Confidence
Myron Marston, Ian Dees
- 出版商: Pragmatic Bookshelf
- 出版日期: 2017-10-03
- 售價: $1,140
- 貴賓價: 9.5 折 $1,083
- 語言: 英文
- 頁數: 356
- 裝訂: Paperback
- ISBN: 1680501984
- ISBN-13: 9781680501988
-
相關分類:
Ruby
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$1,220$1,159 -
$850$808 -
$520$411 -
$1,485$1,411 -
$625Rails 4 Test Prescriptions: Build a Healthy Codebase (Paperback)
-
$356SaaS軟件工程(雲計算時代的敏捷開發)
-
$184軟件測試
-
$580$458 -
$301軟件測試價值提升之路
-
$780$616 -
$450$356 -
$301精通 Nginx, 2/e ( Mastering NGINX, 2/e)
-
$650$553 -
$990Agile Web Development with Rails 5.1
-
$1,750$1,663 -
$500$390 -
$480$408 -
$2,200$2,090 -
$780$616 -
$403App 自動化測試與框架實戰
-
$401松本行弘 編程語言的設計與實現
-
$407圖解 TCP/IP 網絡知識輕鬆入門
-
$520$411 -
$550$429 -
$380$300
相關主題
商品描述
Build and maintain quality software with RSpec, the popular BDD-flavored Ruby testing framework. This definitive guide from RSpec's lead developer shows you how to use RSpec to drive more maintainable designs, specify and document expected behavior, and prevent regressions during refactoring. Build a project using RSpec to design, describe, and test the behavior of your code-whether you're new to testing tools or an experienced developer.
RSpec has been downloaded more than 40 million times. Find out how to use this influential Ruby testing framework to iteratively develop a project with the confidence that comes from well-tested code. Effective Testing With RSpec 3 guides you through developing a Ruby project with RSpec, and then explores the individual components in more detail.
First, learn the basics of installing and using RSpec. Then, build a real-world JSON API, using RSpec throughout the process to drive a BDD-style outside-in workflow. Apply an effective test strategy to write fast, robust tests that support evolutionary design through refactoring. The rest of the book provides the definitive guide to RSpec's components. Use RSpec::Core's metadata to slice and dice your spec suite in flexible ways. Dig into RSpec::Expectation's matchers, which can be composed in flexible ways to precisely specify expected outcomes and get good failure messages that help you quickly diagnose the problem. Write fast, isolated tests with RSpec::Mocks test doubles while pushing your code toward simpler interfaces.
The authors, with a combined 20 years of automated testing experience, share useful, actionable testing advice that will help you have a fun, productive testing experience.
What You Need:
To follow along with the book, you'll need Ruby 2.1+. The book will guide you through installing RSpec 3 and setting up a new project to use it.