Andrew Hampe from Yahoo will be presenting what he calls "A fist full of perl unit testing tricks".
The presentation will provide good enough explanations about the differences between unit, integration and functional testing. The focus will be on how to do unit testing well.
While there are many ways to do unit testing, including Test::Class, the general focus will be on a good enough flexible approach that covers testing both apps and modules.
There will be illustrations of 'mock' objects and methods, as well fun with sensor methods.
This will lead to the Devel::Cover testcover approach, and the basics of working with the Build testcover, the web presentation, and how to use this to focus on where
to pick the low hanging fruit for more test coverage.
As time allows we will drop into ever more esoteric tricks, perchance even showing that one can mock perl built-ins like exit() to show that if there is a will, there is a
way to get to that 100% test coverage.
Topic revision: r1 - 2012-07-22 - 23:47:32 - LambertLum