Selectively running tests can be a lifesaver in a large codebase. This episode covers how to run just the tests you care about in both MiniTest and RSpec - including …
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.
FFI IT, WE'LL DO IT LIVE!
Sometimes a utility module is overkill. In this episode, we make a namespace module do double-duty.
Some functions are useful in many different contexts. In this episode we'll explore some ways to make them available both to library code and to client code of a library.
In part 2 of this series, we buy ourselves some peace of mind with a simple smoke test. The code for this episode can be found here: https://github.com/avdi/pulse-ffi/tree/RubyTapas047
In Part 2 of this series chronicling the creation of an app, I establish a test-driven rhythm, starting with a high-level acceptance test. The source code for this episode is …
This cautionary episode demonstrates and explains a Hash gotcha that often comes as a surprise.