Upload
lynn-langit
View
3.214
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Deck from my task for SDC2013
Citation preview
Approval TestsLynn
Langit
An open-source Unit Testing library
SDC 2013
Gold
en M
aste
rreceived
approved
Serialized Files
Gettin
g it -
nuget
Gett
ing it
- g
ithub
Setu
p
Download Approvals
Select DiffTool(s)
Dem
o –
Sta
rt U
p
How
to A
ppro
ve
• Rename *.received to *.approved –
OR-
• Right click ‘Use whole file’
(DiffReporter)
About
Report
ers
Com
ple
x O
bje
cts
ArraysListsDatabase queriesXML, JSON
Dem
o –
Arr
ays
Com
bin
ati
ons
Combination Approvals
Dem
o –
Test
a
GU
I
Source - http://thesmithfam.org/blog/2012/03/05/the-code-quality-continuum/
Code Quality
Why
Test
-Dri
ven?
Why TDD? Better spec / scope Define, then create (objects)
Do Verify Feedback/regression/granularity
But… Littered with Asserts?
Extra work less productivity?
How
Test-D
riven
TDD
BDD
Approval Tests fit with both
types
Think Bigger
Less Code
Scenarios Assert
Do
Verify
Other LanguagesJava
Approval Tests in Java…
MapReduce
Dem
o –
Test
ing
M
ap
Red
uce
More
Info
rmati
on www.ApprovalTests.com
@LlewellynFalco@DanGilkersonLearn more – videos (.NET)
Who wrote ApprovalTests?
Dan
Llewellyn
Approval Tests@LynnLangit
Q & A
www.TeachingKidsProgramming.org
• Free Courseware
• Teach a Kid (Ages 10 ++)
• Java or Microsoft SmallBasic
• recipes)