Testing tools, techniques, and best practices.
In this episode, guest chef Erin Dees teaches you how to use RSpec tags to test exactly what you need and no more.
Learn to deeply understand and effectively apply RSpec's advanced matcher DSL.
Today we learn about how the StringIO class can help us test methods that work with files.
In this episode, we'll use RSpec custom matchers and compound expectations to make a spec both more concise, and more communicative.
Today we'll learn how to test code that interacts with the filesystem.
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.