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.
Fundamentals of Unit Testing
Filed in
- Organiser
- Silicon Valley Perl
- Date
- Fri, 8 Jun 2012, 02:00 - 05:00 (Add to calendar) GMT
- Venue
- (Exact location not available) , San Jose, US
- Cost
- Free
You might also like...
Other nearby events
Map
TDD podcasts
-
Hanselminutes: Understanding BDD and NSpec with Matt Florence and Amir Rajan
Published 9 years ago, running time 0h34m
Scott sits down with NSpec authors Matt Florence and Amir Rajan to talk about Behavior Driven Development (BDD). Where does one start with BDD? Is BDD just TDD with a fancier name or can it really chance how you design software? The NSpec guys set Scott on the right path.
Comments