Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.
-
Upload
daniella-knight -
Category
Documents
-
view
229 -
download
7
Transcript of Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.
![Page 1: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/1.jpg)
Approval TestsLynn
Langit
An open-source Unit Testing library
SDC 2013
![Page 2: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/2.jpg)
Gold
en M
aste
rreceived
approved
Serialized Files
![Page 3: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/3.jpg)
Gettin
g it -
nuget
![Page 4: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/4.jpg)
Gett
ing it
- g
ithub
![Page 5: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/5.jpg)
Setu
p
Download Approvals
Select DiffTool(s)
![Page 6: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/6.jpg)
Dem
o –
Sta
rt U
p
![Page 7: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/7.jpg)
How
to A
ppro
ve
• Rename *.received to *.approved –
OR-
• Right click ‘Use whole file’
(DiffReporter)
![Page 8: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/8.jpg)
About
Report
ers
![Page 9: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/9.jpg)
Com
ple
x O
bje
cts
ArraysListsDatabase queriesXML, JSON
![Page 10: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/10.jpg)
Dem
o –
Arr
ays
![Page 11: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/11.jpg)
Com
bin
ati
ons
Combination Approvals
![Page 12: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/12.jpg)
Dem
o –
Test
a
GU
I
![Page 13: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/13.jpg)
Source - http://thesmithfam.org/blog/2012/03/05/the-code-quality-continuum/
Code Quality
![Page 14: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/14.jpg)
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?
![Page 15: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/15.jpg)
![Page 16: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/16.jpg)
How
Test-D
riven
TDD
BDD
Approval Tests fit with both
types
Think Bigger
Less Code
Scenarios Assert
Do
Verify
![Page 17: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/17.jpg)
Other LanguagesJava
![Page 18: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/18.jpg)
Approval Tests in Java…
![Page 19: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/19.jpg)
MapReduce
![Page 20: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/20.jpg)
Dem
o –
Test
ing
M
ap
Red
uce
![Page 21: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/21.jpg)
More
Info
rmati
on www.ApprovalTests.com
@LlewellynFalco@DanGilkersonLearn more – videos (.NET)
![Page 22: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/22.jpg)
Who wrote ApprovalTests?
Dan
Llewellyn
![Page 23: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/23.jpg)
Approval Tests@LynnLangit
Q & A
![Page 24: Approval Tests Lynn Langit An open-source Unit Testing library SDC 2013.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ef75503460f94c0ac25/html5/thumbnails/24.jpg)
www.TeachingKidsProgramming.org
• Free Courseware
• Teach a Kid (Ages 10 ++)
• Java or Microsoft SmallBasic
• recipes)