Talking head
Ruby Conference 2014

This presentation, by Sam Phippen, is licensed under a Creative Commons Attribution ShareAlike 3.0

Spies are a relatively new feature in RSpec. In this tutorial-style talk: we'll look at what spies are, how spies work in RSpec and how one can write better tests with spies. We'll work through some of examples of writing new tests with spies, improving old tests with spies and the reasons why spying is a useful tool for your testing practice. If you're new to RSpec and looking for ways to improve your testing practice, understand the library better or just ask some questions, this session will be great for you.

Rated: Everyone
Viewed 1,317 times
Tags: rspec testing