RSpec is a Ruby automated testing tool inspired by the Behavior-Driven Design testing philosophy.
Tag: rspec
Episode #289: Mocking Smells 2
Today we continue in our series examining mock-object code smells.
Episode #287: Mocking Smells 1
Test doubles are a powerful but easy-to-misuse tool for design. In this episode, we look at some tell-tale signes that mocks aren't being used effectively.
Episode #284: Testing Retry
Ruby's "retry" keyword is powerful, but how do we test the code that uses it?
Episode #272: Complex RSpec Matchers with Noel Rappin
If you enjoyed the previous episode about how RSpec matchers really work, you're in for a treat today. Guest chef Noel Rappin joins us once again, this time to talk …
Episode #271: Understanding RSpec Matchers with Noel Rappin
Here on RubyTapas one of my core philosophies is that it is always helpful to learn more about how our tools work under the covers. That's why today I'm very …
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 #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.