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 …
Search results for: episode 20
616 results found.
Episode #047: FFI Part 2: Smoke Test One
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
Episode #039: Gem Love Part 1
In this, the first of another ongoing occasional series, I revisit an open-source application I started three years ago and begin to rewrite it. Part 1 focuses on building a …
Episode #483: Extract Default to Method
Some pointers on making your Ruby parameter defaults self-documenting.
Episode #405: Self Save Part 4
In this series conclusion, we learn some lessons about trampolines and self-saving domain models.
Episode #260: Regex Capture Groups with Nell Shamrell
Guest chef Nell Shamrell shares an intro to working with regex capture groups in this episode.
Episode #008: #fetch as an Assertion
Hash#fetch is one of my favorite methods. In this episode, I take a look at using it to assert the existence of hash keys.
Episode #494: Special Variables Part 4: Speak English!
Now that you've learned how to obfuscate your code with Perl-style special variables, learn how to make it readable again!