Making a mockery test mocking and method fixtures

Writing tests is hard, especially in real-world codebases with external dependencies. Mocking methods and objects is a possible solution to problems in testing, but how and when is it a good idea? When is mocking not a good idea and is extensive mocking actually helping create useful tests? What's on CPAN to help us write tests with mocking. Are there alternatives to mocking? Introduces Test::MethodFixtures as food-for-thought about how we could test externalities.
Length: 23:17
Views 15 Likes: 0
Recorded on 2015-12-12 at London Perl Workshop
Look for other videos at London Perl Workshop.
Tweet this video