Afraid your RSpec examples are giving you a false sense of security? Today we'll learn how to restore trust using verifying doubles.
Category: S4 Premium
Episode #298: File Find
In this "lost episode", we'll learn how to use Ruby's "find" library to dig through files on disk.
Episode #297: Test Spies
Today we'll make some message expectations read better using RSpec's support for test spies.
Episode #296: Mocking Smells 3
Some more indications that you might not be using Mock Objects to best advantage.
Episode #295: Predicate Return Value Part 2
In the second of two episodes about predicate return values, we look at some of the subtle ways that non-boolean predicate return values can catch programmers by surprise.
Episode #294: Predicate Return Value Part 1
Predicates return booleans, right? Not always, as it turns out. Part 1 of 2.
Episode #293: Integer Formats
Sometimes using a string format is overkill. Today we look at quick and easy ways to convert to and from hexadecimal, octal, binary, and other integer representations.
Episode #292: Delegate Class
Ruby's 'delegate' stdlib provides a couple different variations on delegator bass classes. Today we'll look at the differences between the two, and at how to choose on or the other.
Episode #291: Advanced Chunk
Today we continue our look at the Enumerable#chunk method, this time applying it to the problem of a streaming network protocol.