TWiki
>
SVPerl Web
>
WebLeftBar
>
PresentationList
>
FundamentalsOfUnitTesting
(2012-07-22,
LambertLum
)
(raw view)
E
dit
A
ttach
Andrew Hampe from Yahoo will be presenting what he calls "A fist full of perl unit testing tricks".<br /> <br /> 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.<br /> <br /> 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.<br /> <br /> There will be illustrations of 'mock' objects and methods, as well fun with sensor methods.<br /> <br /> 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<br /> to pick the low hanging fruit for more test coverage.<br /> <br /> 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<br /> way to get to that 100% test coverage. -- Main.LambertLum - 2012-07-22
Attachments
Attachments
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
pdf
ffout.pdf
manage
1891.3 K
2012-07-22 - 23:47
UnknownUser
Andrew's slides
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2012-07-22 - 23:47:32 -
LambertLum
SVPerl
Home
Meeting info
Presentations
Mail Lists
Log In
SVPerl Web
Create New Topic
Index
Search
Changes
RSS Feed
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback