TDD

Create Seam

Can’t make changes without refactoring. Can’t refactor without tests. Can’t add tests without making changes. Learn how to break the cycle!

Rigorous Ruby

Design, verify, and safely refactor your Ruby code using mature testing disciplines and practices.

Re-Run Just the Tests That Failed

A test-driven development workflow is only effective when it gives you quick, meaningful feedback. Check out these power-user facilities for RSpec and MiniTest that will help you skip the noise and focus in on the tests that are currently failing!

Sprout Class

In the conclusion of a three-part series, we discover the final piece of the “testing private methods” puzzle.

Testing with Coat Hangers

What happens when you try to TDD new functionality deep inside a private method? The resulting tests can feel terribly awkward and brittle.

TDD is easy! – with Michal Taszycki

Have you ever heard someone say that TDD is just “too hard” to get started with on some platform? Watch Michal Taszycki put this fear to bed once and for all.

Mocking Smells 4

As we continue examining code smells in mockist tests, today we turn our attention to code that mocks out core I/O calls.

Consequences

In today’s episode we’ll meet an application written without tests, and discover the repercussions of that decision.

Gem-Love Part 11

Finishing up my list of TODO items, today I address some structural coupling that my test stubs have revealed. This is a live episode, so no script today.

Gem-Love Part 10

Note: This week RubyTapas moves to its new release schedule of two episodes a week. I’ve already sent out an update detailing the reason for the change, but for those who have disabled email updates, I’ve also added a note to the FAQ here: https://rubytapas.com/faq#frequency-change Working through my TODO list from the recent feature additions, in today’s episode I seek to resolve the semantic conflict between User and GemUser through refactoring. This is a live episode, so no script today. Code here: https://github.com/avdi/gem-love/tree/rubytapas-episode-102