a test-specific object that verifies it is being used correctly by the system under test
Join guest chef Nathan Ladd to learn about a third way between full-stack and mocked-out isolation testing: test substitutes that are maintained alongside a production API.
Today we learn about how the StringIO class can help us test methods that work with files.
As we continue examining code smells in mockist tests, today we turn our attention to code that mocks out core I/O calls.
Afraid your RSpec examples are giving you a false sense of security? Today we'll learn how to restore trust using verifying doubles.
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.
Tieing methods together with the Composed Method pattern.
Test-driving some more methods in our PulseAudio library.