Testing tools, techniques, and best practices.
Category: Testing
Episode #510: RSpec Tags
In this episode, guest chef Erin Dees teaches you how to use RSpec tags to test exactly what you need and no more.
Write expressive tests by mastering RSpec matchers
Learn to deeply understand and effectively apply RSpec's advanced matcher DSL.
Episode #399: StringIO Test Fake
Today we learn about how the StringIO class can help us test methods that work with files.
Episode #334: Rspec Compound Matchers
In this episode, we'll use RSpec custom matchers and compound expectations to make a spec both more concise, and more communicative.
Episode #314: Filesystem Testing
Today we'll learn how to test code that interacts with the filesystem.
Episode #312: Mocking Smells 4
As we continue examining code smells in mockist tests, today we turn our attention to code that mocks out core I/O calls.
Episode #299: Instance Spy
Afraid your RSpec examples are giving you a false sense of security? Today we'll learn how to restore trust using verifying doubles.
Episode #297: Test Spies
Today we'll make some message expectations read better using RSpec's support for test spies.