In this episode, we'll use RSpec custom matchers and compound expectations to make a spec both more concise, and more communicative.
Factoring out a high-level interface for PulseAudio.
In this very special episode, guest chef Pat Shaughnessy takes us on a whirlwind tour of the Ruby internals that make the Enumerable#all? method tick.
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 …
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
With the FFI Gem, building wrappers for C libraries is easier than ever. This episode gives a brief overview of building the beginnings of a Ruby interface to the Linux …
What's a good way to open a conversion method to extension? Let's find out!
Continuing in our series, we examine three more problem scenarios with self-saving objects.