Effective Testing with RSpec 3

Effective Testing with RSpec 3
Author :
Publisher : Pragmatic Bookshelf
Total Pages : 468
Release :
ISBN-10 : 9781680503463
ISBN-13 : 1680503464
Rating : 4/5 (63 Downloads)

Book Synopsis Effective Testing with RSpec 3 by : Myron Marston

Download or read book Effective Testing with RSpec 3 written by Myron Marston and published by Pragmatic Bookshelf. This book was released on 2017-08-30 with total page 468 pages. Available in PDF, EPUB and Kindle. Book excerpt: "Our tests are broken again!" "Why does the suite take so long to run?" "What value are we getting from these tests anyway?" Solve your testing problems by building and maintaining 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 automated tests or have been using them for years, this book will help you write more effective tests. RSpec has been downloaded more than 100 million times and has inspired countless test frameworks in other languages. Use this influential Ruby testing framework to iteratively develop a project with the confidence that comes from well-tested code. This book guides you through creating a Ruby project with RSpec, and explores the individual components in detail. Start by learning 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. Dig into rspec-expectations' matchers: compose them in flexible ways, specify expected outcomes with precision, and diagnose problems quickly with the help of good failure messages. 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 testing wisdom that will lead to a fun, productive testing experience. What You Need: To follow along with the book, you'll need Ruby 2.2+. The book will guide you through installing RSpec 3 and setting up a new project to use it.


Effective Testing with RSpec 3 Related Books

Effective Testing with RSpec 3
Language: en
Pages: 468
Authors: Myron Marston
Categories: Computers
Type: BOOK - Published: 2017-08-30 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

"Our tests are broken again!" "Why does the suite take so long to run?" "What value are we getting from these tests anyway?" Solve your testing problems by buil
API Testing Recipes in Ruby
Language: en
Pages: 132
Authors: Zhimin Zhan
Categories:
Type: BOOK - Published: 2016-07-29 - Publisher: Createspace Independent Publishing Platform

DOWNLOAD EBOOK

API popularity skyrocketed with the rise in smartphone use, and many new software developed for web and mobile platforms provide APIs. Microservices architectur
Cucumber Recipes
Language: en
Pages: 334
Authors: Ian Dees
Categories: Computers
Type: BOOK - Published: 2013-02-12 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

You can test just about anything with Cucumber. We certainly have, and in Cucumber Recipes we'll show you how to apply our hard-won field experience to your own
Ruby Cookbook
Language: en
Pages: 908
Authors: Lucas Carlson
Categories: Computers
Type: BOOK - Published: 2006 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

With the introduction of Ruby on Rails, the Ruby scripting language has been a rising star among programmers over the past year. This new book covers all aspect
Metasploit Penetration Testing Cookbook
Language: en
Pages: 416
Authors: Abhinav Singh
Categories: Computers
Type: BOOK - Published: 2018-02-26 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Over 100 recipes for penetration testing using Metasploit and virtual machines Key Features Special focus on the latest operating systems, exploits, and penetra