Hi
user
Admin Login:
Username:
Password:
Name:
Fake It Til You Make It: Unit Testing Patterns With Mocks and Fakes
--client
psf
--show
pycon_2012
--room D5 723 --force
Next: 6 Certainty in an Uncertain World: Gaining Confidence through Security Testing
show more...
Marks
Author(s):
Brian K. Jones
Location
Track I (D5)
Date
mar Fri 09
Days Raw Files
Start
15:20
First Raw Start
15:19
Duration
00:45:00
Offset
0:00:19
End
16:05
Last Raw End
16:12
Chapters
00:00
Total cuts_time
49 min.
http://us.pycon.org/2012/schedule/presentation/336/
raw-playlist
raw-mp4-playlist
encoded-files-playlist
host
public
mp4
svg
png
assets
release.pdf
Fake_It_Til_You_Make_It_Unit_Testing_Patterns_With_Mocks_and_Fakes.json
logs
Admin:
episode
episode list
cut list
raw files day
marks day
marks day
image_files
State:
---------
borked
edit
encode
push to queue
post
richard
review 1
email
review 2
make public
tweet
to-miror
conf
done
Locked:
clear this to unlock
Locked by:
user/process that locked.
Start:
initially scheduled time from master, adjusted to match reality
Duration:
length in hh:mm:ss
Name:
Video Title (shows in video search results)
Emails:
email(s) of the presenter(s)
Released:
has someone authorised pubication
Unknown
Yes
No
Normalise:
Channelcopy:
m=mono, 01=copy left to right, 10=right to left, 00=ignore.
Thumbnail:
filename.png
Description:
markdown
In this talk, aimed at intermediate Pythonistas, we'll have a look at some common, simple patterns in code, and the testing patterns that go with them. We'll also discover what makes some code more testable than others, and how mocks and fakes can help isolate the code to be tested (and why you want to do that). Finally, we'll touch on some tools to help make writing and running tests easier.
Comment:
production notes
<?xml version='1.0' encoding='UTF-8'?> <ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom" xmlns:ns1="http://schemas.google.com/g/2005" xmlns:ns2="http://search.yahoo.com/mrss/" xmlns:ns3="http://gdata.youtube.com/schemas/2007" xmlns:ns4="http://purl.org/atom/app#"><ns0:category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#video" /><ns0:category label="Education" scheme="http://gdata.youtube.com/schemas/2007/categories.cat" term="Education" /><ns0:category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="psf" /><ns0:category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="python pycon pycon2012" /><ns0:category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="pycon_2012" /><ns0:category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="BrianK.Jones" /><ns0:id>http://gdata.youtube.com/feeds/api/videos/hvPYuqzTPIk</ns0:id><ns0:author><ns0:name>NextDayVideo</ns0:name><ns0:uri>https://gdata.youtube.com/feeds/api/users/NextDayVideo</ns0:uri></ns0:author><ns0:content type="text">Brian K. Jones In this talk, aimed at intermediate Pythonistas, we'll have a look at some common, simple patterns in code, and the testing patterns that go with them. We'll also discover what makes some code more testable than others, and how mocks a</ns0:content><ns0:updated>2012-03-12T04:03:09.000Z</ns0:updated><ns0:published>2012-03-12T04:03:09.000Z</ns0:published><ns1:comments><ns1:feedLink countHint="0" href="https://gdata.youtube.com/feeds/api/videos/hvPYuqzTPIk/comments?client=ndv" rel="http://gdata.youtube.com/schemas/2007#comments" /></ns1:comments><ns2:group><ns2:keywords>psf, python pycon pycon2012, pycon_2012, BrianK.Jones</ns2:keywords><ns2:description type="plain">Brian K. Jones In this talk, aimed at intermediate Pythonistas, we'll have a look at some common, simple patterns in code, and the testing patterns that go with them. We'll also discover what makes some code more testable than others, and how mocks a</ns2:description><ns2:title type="plain">Fake It Til You Make It: Unit Testing Patterns With Mocks and Fakes</ns2:title><ns3:duration seconds="0" /><ns2:content duration="0" expression="full" isDefault="true" medium="video" type="application/x-shockwave-flash" url="https://www.youtube.com/v/hvPYuqzTPIk?version=3&f=user_uploads&c=ndv&d=Aarb2r5skm2_yNTuKEinXdAO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata" ns3:format="5" /><ns2:thumbnail height="360" time="00:00:00" url="http://i.ytimg.com/vi/hvPYuqzTPIk/0.jpg" width="480" /><ns2:thumbnail height="90" time="00:00:00" url="http://i.ytimg.com/vi/hvPYuqzTPIk/1.jpg" width="120" /><ns2:thumbnail height="90" time="00:00:00" url="http://i.ytimg.com/vi/hvPYuqzTPIk/2.jpg" width="120" /><ns2:thumbnail height="90" time="00:00:00" url="http://i.ytimg.com/vi/hvPYuqzTPIk/3.jpg" width="120" /><ns2:category label="Education" scheme="http://gdata.youtube.com/schemas/2007/categories.cat">Education</ns2:category><ns2:category scheme="http://gdata.youtube.com/schemas/2007/developertags.cat">psf</ns2:category><ns2:category scheme="http://gdata.youtube.com/schemas/2007/developertags.cat">python pycon pycon2012</ns2:category><ns2:category scheme="http://gdata.youtube.com/schemas/2007/developertags.cat">pycon_2012</ns2:category><ns2:category scheme="http://gdata.youtube.com/schemas/2007/developertags.cat">BrianK.Jones</ns2:category><ns2:player url="https://www.youtube.com/watch?v=hvPYuqzTPIk&feature=youtube_gdata_player" /></ns2:group><ns0:title type="text">Fake It Til You Make It: Unit Testing Patterns With Mocks and Fakes</ns0:title><ns4:control><ns4:draft>yes</ns4:draft><ns3:state name="processing" /></ns4:control><ns0:link href="https://www.youtube.com/watch?v=hvPYuqzTPIk&feature=youtube_gdata" rel="alternate" type="text/html" /><ns0:link href="https://gdata.youtube.com/feeds/api/videos/hvPYuqzTPIk/responses?client=ndv" rel="http://gdata.youtube.com/schemas/2007#video.responses" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/videos/hvPYuqzTPIk/ratings?client=ndv" rel="http://gdata.youtube.com/schemas/2007#video.ratings" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/videos/hvPYuqzTPIk/complaints?client=ndv" rel="http://gdata.youtube.com/schemas/2007#video.complaints" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/videos/hvPYuqzTPIk/related?client=ndv" rel="http://gdata.youtube.com/schemas/2007#video.related" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/users/nextdayvideo/uploads/hvPYuqzTPIk?client=ndv" rel="self" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/users/nextdayvideo/uploads/hvPYuqzTPIk?client=ndv" rel="edit" type="application/atom+xml" /></ns0:entry>
2012-03-09/15:19:41.dv
Apply:
15:19:41 - 15:22:25 ( 00:02:44 )
S:
15:19:41 -
E:
15:22:25
D:
00:02:44
show more...
vlc ~/Videos/veyepar/psf/pycon_2012/dv/D5/2012-03-09/15:19:41.dv :start-time=00.0 --audio-desync=0
Raw File
Cut List
15:19:41
seconds: 0.0
Wall: 15:19:41
Duration
00:02:44
15:22:25
seconds: 0.0
Wall: 15:19:41
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2012-03-09/15:22:25.dv
Apply:
15:22:25 - 16:11:57 ( 00:49:32 )
S:
15:22:25 -
E:
16:12:17
D:
00:49:52
(
End:
49:32)
show more...
vlc ~/Videos/veyepar/psf/pycon_2012/dv/D5/2012-03-09/15:22:25.dv :start-time=00.0 --audio-desync=0
Raw File
Cut List
15:22:25
seconds: 0.0
Wall: 15:22:25
Duration
00:49:52
16:12:17
seconds: 2972.0
Wall: 16:11:57
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
Rf filename:
root is .../show/dv/location/, example: 2013-03-13/13:13:30.dv
Sequence:
get this:
check and save to add this
2012-03-09/15:19:41.dv
2012-03-09/15:22:25.dv
Veyepar
Video Eyeball Processor and Review