Effective Testing with RSpec 3

Build Ruby Apps with Confidence



Bookstore > Books > Effective Testing with RSpec 3

Price$17.69 - $24.27
Rating
AuthorsMyron Marston, Ian Dees
PublisherThe Pragmatic Programmers
Published2017
Pages354
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101680501984
ISBN-139781680501988
EBook Hardcover Paperback

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.


  1. (5 books)


5 5 154

Similar Books


Java Testing with Spock

Java Testing with Spock

by Konstantinos Kapelonis, Luke Daley

Java Testing with Spock teaches you how to use Spock for a wide range of testing use cases in Java. Readers new to Groovy will appreciate the succinct language tutorial that'll give you just enough Groovy to use Spock effectively.Spock combines the features of tools like JUnit, Mockito, and JBehave into a single powerful Java testing...

Price:  $18.00  |  Publisher:  Manning  |  Release:  2016

Web Penetration Testing with Kali Linux, 3rd Edition

Web Penetration Testing with Kali Linux, 3rd Edition

by Gilberto Najera-Gutierrez, Juned Ahmed Ansari

Web Penetration Testing with Kali Linux - 3rd Edition shows you how to set up a lab, helps you understand the nature and mechanics of attacking websites, and explains classical attacks in great depth. This edition is heavily updated for the latest Kali Linux changes and the most recent attacks. Kali Linux shines when it comes to client-si...

Price:  $49.99  |  Publisher:  Packt Publishing  |  Release:  2018

Hands-On Automation Testing with Java for Beginners

Hands-On Automation Testing with Java for Beginners

by Rahul Shetty

Java is one of the most commonly-used software languages by programmers and developers. Are you from a non-technical background and looking to master Java for your automation needs? Then Hands-On Automation Testing with Java for Beginners is for you.This book provides you with efficient techniques to effectively handle Java-related automa...

Price:  $15.24  |  Publisher:  Packt Publishing  |  Release:  2018

Web Penetration Testing with Kali Linux

Web Penetration Testing with Kali Linux

by Joseph Muniz, Aamir Lakhani

Kali Linux is built for professional penetration testing and security auditing. It is the next-generation of BackTrack, the most popular open-source penetration toolkit in the world. Readers will learn how to think like real attackers, exploit systems, and expose vulnerabilities.Even though web applications are developed in a very secure ...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2013

Instant Mock Testing with PowerMock

Instant Mock Testing with PowerMock

by Deep Shah

Writing good unit tests can be hard in situations where we have to deal with static, final, or private methods. Sometimes, even a good design is sacrificed for the sake of testability. A mocking framework's ability to create mocks for almost any scenario enables us to focus on accurately programming for a business environment.Startin...

Price:  $14.99  |  Publisher:  Packt Publishing  |  Release:  2013

Android Application Programming with OpenCV 3

Android Application Programming with OpenCV 3

by Joseph Howse

Android Application Programming with OpenCV 3 is a practical, hands-on guide to computer vision and mobile app development. It shows how to capture, manipulate, and analyze images while building an application that combines photography and augmented reality. To help the reader become a well-rounded developer, the book covers OpenCV (a com...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2015

Building and Testing with Gradle

Building and Testing with Gradle

by Tim Berglund, Matthew McCullough

Build and test software written in Java and many other languages with Gradle, the open source project automation tool that's getting a lot of attention. This concise introduction provides numerous code examples to help you explore Gradle, both as a build tool and as a complete solution for automating the compilation, test, and releas...

Price:  $16.99  |  Publisher:  O'Reilly Media  |  Release:  2011

Automated Unit Testing with ABAP

Automated Unit Testing with ABAP

by James Edward McDonough

Write automated unit tests for the ABAP language. This book teaches programmers using simple examples and metaphors and explains the underlying concepts of writing effective automated unit tests. Many, if not most, ABAP programmers learned their programming and testing skills before the ABAP development environment provided an automated u...

Price:  $37.34  |  Publisher:  Apress  |  Release:  2021