Effective Testing with Rspec 3: Build Ruby Apps with Confidence

Effective Testing with Rspec 3: Build Ruby Apps with Confidence

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.

Download Now

Author
Publisher Pragmatic Bookshelf
Release Date
ISBN 9781680501988
Pages 275 pages
Rating 4/5 (84 users)

More Books:

Effective Testing with Rspec 3: Build Ruby Apps with Confidence
Language: en
Pages: 275
Authors: Marston
Categories: Computers
Type: BOOK - Published: 2017-02-25 - Publisher: Pragmatic Bookshelf

GET EBOOK

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
Effective Testing with RSpec 3
Language: en
Pages:
Authors: Ian Dees. Myron Marston
Categories:
Type: BOOK - Published: 2017 - Publisher:

GET EBOOK

Effective Ruby
Language: en
Pages: 240
Authors: Peter J. Jones
Categories: Computers
Type: BOOK - Published: 2014-09-08 - Publisher: Addison-Wesley Professional

GET EBOOK

If you’re an experienced Ruby programmer, Effective Ruby will help you harness Ruby’s full power to write more robust, efficient, maintainable, and well-per
RSpec Essentials
Language: en
Pages: 222
Authors: Mani Tadayon
Categories: Computers
Type: BOOK - Published: 2016-04-21 - Publisher: Packt Publishing Ltd

GET EBOOK

Develop testable, modular, and maintainable Ruby software for the real world using RSpec About This Book Explore the concept of testability and how to implement
Encyclopedia of Software Engineering Three-Volume Set (Print)
Language: en
Pages: 1522
Authors: Phillip A. Laplante
Categories: Computers
Type: BOOK - Published: 2010-11-22 - Publisher: CRC Press

GET EBOOK

Software engineering requires specialized knowledge of a broad spectrum of topics, including the construction of software and the platforms, applications, and e
Complete Guide to Test Automation
Language: en
Pages: 529
Authors: Arnon Axelrod
Categories: Computers
Type: BOOK - Published: 2018-09-22 - Publisher: Apress

GET EBOOK

Rely on this robust and thorough guide to build and maintain successful test automation. As the software industry shifts from traditional waterfall paradigms in
How to Engineer Software
Language: en
Pages: 1168
Authors: Steve Tockey
Categories: Computers
Type: BOOK - Published: 2019-11-05 - Publisher: John Wiley & Sons

GET EBOOK

A guide to the application of the theory and practice of computing to develop and maintain software that economically solves real-world problem How to Engineer
Public Health Reports
Language: en
Pages:
Authors:
Categories: Public Health
Type: BOOK - Published: 1998 - Publisher:

GET EBOOK