a test-specific object that verifies it is being used correctly by the system under test
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.
At the borders of our systems, mockist testing hits a point of diminishing returns. In this episode we take a look at when to stop mocking and start integration testing.
In this episode, we explore command/query separation by looking at what happens to unit tests when the separation breaks down.