Marston, Myron
Effective Testing with Rspec 3: Build Ruby Apps with Confidence
- ISBN 13:
- 9781680501988
- author:
- Marston, Myron
- format:
- Paperback
- publisher:
- Pragmatic Bookshelf
- language:
- English
- Publication Year:
- 2017
- Pages:
- 356
- Dimensions:
- 23.5 x 19.05 x 1.88 centimetres
- Genre:
- Computers, Programming, General
- Condition:
- New
- Availability:
- Item usually sent within 10 working days
Description
Learn to build and maintain quality software with RSpec, the popular BDD-flavored Ruby testing framework. This comprehensive guide shows you how to use RSpec to drive more maintainable designs, specify and document expected behavior, and prevent regressions during refactoring.
Whether you're new to automated tests or have been using them for years, this book will help you write more effective tests. You'll learn how to install and use RSpec, build a real-world JSON API, and apply an effective test strategy to support evolutionary design through refactoring.
Discover the individual components of RSpec, including rspec-core's book details, rspec-expectations' matchers, and rspec-mocks' test doubles. With this guide, you'll be able to write fast, robust tests that give you confidence in your code.