Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Adding Tests to an Uncovered App
Search
Zach Smith
June 06, 2012
Programming
1.4k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Adding Tests to an Uncovered App
DjangoCon Euro 2012
Zach Smith
June 06, 2012
Other Decks in Programming
See All in Programming
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
410
1B+ /day規模のログを管理する技術
broadleaf
0
120
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
230
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.5k
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.5k
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
170
Inside Stream API
skrb
1
800
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
Performance Engineering for Everyone
elenatanasoiu
0
230
act1-costs.pdf
sumedhbala
0
130
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
230
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Navigating Weather and Climate Data
rabernat
0
250
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
590
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Music & Morning Musume
bryan
47
7.2k
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
870
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
200
Typedesign – Prime Four
hannesfritz
42
3.1k
Six Lessons from altMBA
skipperchong
29
4.3k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
240
Transcript
Adding Tests to an Uncovered App Zach Smith | @zmsmith
None
None
None
Production
Staging Production
http://tech.yipit.com/2011/11/09/how-yipit-deploys-django/
http://tech.yipit.com/2011/11/09/how-yipit-deploys-django/ self call
Automated Testing
Automated Testing Automated Testing
WHEN TO AUTOMATE?
WHEN TO AUTOMATE? - Time
WHEN TO AUTOMATE? - Time - Team
WHEN TO AUTOMATE? - Time - Team - Things really,
really have to work
TYPES OF TESTS
TYPES OF TESTS - Acceptance Tests
TYPES OF TESTS - Acceptance Tests - Functional Tests
TYPES OF TESTS - Acceptance Tests - Functional Tests -
Unit Tests
ACCEPTANCE TESTS
None
None
#BDD library for Gherkin syntax lettuce #browser API on top
of selenium splinter #Always keep this the newest version selenium==2.21.3
GHERKIN Given the state of a system, When an action
is taken, Then an outcome is achieved.
#BDD library for Gherkin syntax lettuce #browser API on top
of selenium splinter #Always keep this the newest version selenium==2.21.3
#BDD library for Gherkin syntax lettuce #browser API on top
of selenium splinter #Always keep this the newest version selenium==2.21.3
settings.py
FEATURES
polls/features/vote.feature
polls/features/vote.feature
terrain.py
polls/features/steps.py
polls/features/vote.feature
terrain.py
polls/features/steps.py
polls/features/steps.py
polls/features/steps.py
polls/features/steps.py
None
FUNCTIONAL TESTS
polls/templates/results.html
#Includes a nose test runner and #options for running types
of tests unclebob #helper library for scenarios #and assertions sure
#Includes a nose test runner and #options for running types
of tests unclebob #helper library for scenarios #and assertions sure
settings.py
polls/tests/functional/test_polls.py
polls/tests/functional/test_polls.py
None
UNIT TESTS
#Includes a nose test runner and #options for running types
of tests unclebob #helper library for scenarios #and assertions sure
#Includes a nose test runner and #options for running types
of tests unclebob #helper library for scenarios #and assertions sure
#Includes a nose test runner and #options for running types
of tests unclebob #helper library for scenarios #and assertions sure #python mocking library mock
None
None
None
None
settings.py
polls/models.py
polls/tests/unit/test_polls.py
None
polls/models.py
polls/tests/unit/test_analytics.py
polls/tests/unit/test_analytics.py
None
SUMMARY •Acceptance •Functional •Unit
QUESTIONS? Zach Smith | @zmsmith