Testing tools, techniques, and best practices.
As we continue examining code smells in mockist tests, today we turn our attention to code that mocks out core I/O calls.
Today we fix a problem with an RSpec exception assertion.
Afraid your RSpec examples are giving you a false sense of security? Today we'll learn how to restore trust using verifying doubles.
Today we'll make some message expectations read better using RSpec's support for test spies.
Some more indications that you might not be using Mock Objects to best advantage.
Today we continue in our series examining mock-object code smells.
Test doubles are a powerful but easy-to-misuse tool for design. In this episode, we look at some tell-tale signes that mocks aren't being used effectively.
Ruby's "retry" keyword is powerful, but how do we test the code that uses it?
This episode is all about making tests that read better and fail better.