AI summary not available

This video doesn't have a transcript yet

RubyConf 2021 - To mock, or not to mock? by Emily Giurleo

Ruby Central 1.6K views Dec 22, 2021 27:56

To mock, or not to mock? by Emily Giurleo Mocking: it’s one of the most controversial topics in the testing world. Using mocks, we can more easily test parts of our applications that might otherwise go untested, but mocks can also be misused, resulting in tests that are brittle or downright self-referential. So… how do we know when to use mocks in our tests? In this talk, we’ll identify three important questions that can help us make that decision. By the end of the talk, you will have a framework in mind to help you answer the question: to mock, or not to mock?

Feedback