Testing tools, techniques, and best practices.
Category: Testing
Episode #175: REPL-Driven Development
In today's episode I cover a classic development technique that doesn't get enough press these days. Interactive, exploratory development was and is common in the Lisp world, and Ruby's dynamic …
Episode #157: Lockstep Testing
In this episode we'll explore a novel technique for testing multithreaded code. The lockstep library can be found here: https://github.com/avdi/lockstep
Episode #154: Testing Threads
Working with threads is hard enough, but getting them under test is even trickier. In this episode we start to look at techniques for verifying the logic of multithreaded code.
Episode #153: Testing Sleep
We try to avoid writing slow unit tests, but what if we are testing a method whose responsibilities include waiting for a period of time? In this episode we look …
Episode #122: Testing Blocks With Rspec
Last episode we looked at a simple way to test if a method executes a block as intended that will work in any test framework. But if your tool of …
Episode #121: Testing Blocks
Today's episode answers the question: how do you test that a block passed to a method is executed as intended?
Episode #120: Outside-In
In today's episode I tackle the question of how many tests are enough. I'll show how for me, it's all about how long it's been since I last got new …
Episode #061: FFI Part 6: PulseFFI Awakens
Tieing methods together with the Composed Method pattern.
Episode #057: FFI Part 5: The Mock API
Test-driving some more methods in our PulseAudio library.