Fundamentals of Unit Testing

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

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.

You might also like...

Comments

Other nearby events

Map

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Programs must be written for people to read, and only incidentally for machines to execute.”