Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Embracing Python for Software Testing - BDD Style
Search
Jakub Jarosz
October 13, 2012
Programming
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Embracing Python for Software Testing - BDD Style
Jakub Jarosz
October 13, 2012
More Decks by Jakub Jarosz
See All by Jakub Jarosz
Benchmarking - First Steps
jakubjarosz
0
79
Communicating with Tests
jakubjarosz
0
180
Testing Go CLI Apps with TestScript
jakubjarosz
0
270
Testing Go Code
jakubjarosz
0
250
Releasing Go Apps with GoReleaser
jakubjarosz
0
390
Building Environments with Ansible
jakubjarosz
0
420
a quick look at webtest & pytest
jakubjarosz
1
1.3k
Data Driven Integration Testing
jakubjarosz
2
330
Multi Mechanize
jakubjarosz
0
160
Other Decks in Programming
See All in Programming
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
290
オーケストレーション記述言語 Katari
yukikurage
0
220
Modernizing iOS Apps
seyfoyun
0
150
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
200
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
340
No More NoSuchMethodError
exoego
1
120
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.2k
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.8k
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
360
Performance Optimization With LLMs
xleitix
0
240
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
320
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
890
Abbi's Birthday
coloredviolet
4
11k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
670
Product Roadmaps are Hard
iamctodd
55
13k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Done Done
chrislema
187
17k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
The agentic SEO stack - context over prompts
schlessera
0
1k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
560
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
HDC tutorial
michielstock
2
1k
Transcript
Embracing Python for Software Testing - BDD Style PyCon Ireland
2012 Jakub Jarosz http://testing.gobanana.co.uk/?p=743
test & deployment automation
softtest ireland softtest.ie #SoftTestIreland
today's menu: test evolution challenges communication specification
http://advancedlifeskills.com/blog/do-you-see-blessings-in-challenges/
big picture... UI midlayer back end - engine reports UI
stack UI midlayer back end - engine reports UI C++
testing UI midlayer back end - engine reports UI
focus UI midlayer back end - engine reports UI
back end overview
rules & statistics http://mikelperez.wikispaces.com/
test evolution... http://www.facefinal.com/2012/09/100-reasons-why-evolution-is-so-stupid.html#.UHeYJRZ25mE
preconditions
REST - the manual way
manual testing... http://blog.chriss-baumann.de/2010/07/26/because-life-is-too-short-for-manual-testing
automating
pyUnit http://www.oracleunittesting.com/unit-testing/part-4-how-do-unit-tests-work/
use & test case DB SUT preconditions REST
None
None
Gherkin to the rescue GIVEN a registered user 'bob' WHEN
a user navigates to the Sign In page AND the user signs in as 'bob' THEN the profile page for 'bob' will be displayed
Business readable specification http://images.businessweek.com/ss/09/06/0630_contract_workers/4.htm
Describe software behaviour... ... without detailing how that behaviour is
implemented. http://www.uea.ac.uk/~m242/nasc/cross/cman/howbig.htm
BDD - testing stack PROJECT Steps Features Scenarios
BDD - testing stack PROJECT Steps Features Scenarios Step definitions
Support code Automation library SYSTEM
BDD - testing stack PROJECT Steps Features Scenarios Step definitions
Support code Automation library SYSTEM BUSINESS TECHNOLOGY
collaboration http://oecdeducationtoday.blogspot.com/2012/05/what-should-students-learn-in-21st.html
lettuce http://www.bigoven.com/recipes/Lettuce/title
project structure
project structure - BDD
project structure - libs & unittest
lettuce
lettuce steps definition
lettuce - Given
lettuce - When
lettuce - Then
lettuce run... http://thnxfrthememories.blogspot.com/2010/07/run-forrest-run.html
lettuce run...
CI server $ lettuce security_buffer.feature --with- xunit
http://www.zazzle.com/its_not_what_you_believe_but_how_you_behave_magnet-147580983275159945
Project structure
statistics http://mikelperez.wikispaces.com/
None
None
None
Steps http://www.creativetriage.com/2010/11/02/8-steps-a-day-to-community-hospital-social-media-success/
None
None
web console http://mikelperez.wikispaces.com/
None
Steps http://www.creativetriage.com/2010/11/02/8-steps-a-day-to-community-hospital-social-media-success/
None
None
None
None
None
CI server $ $ behave ec_web_console_2.feature --junit
Jakub Jarosz @jakubjarosz http://testing.gobanana.co.uk/?p=743 Thank You ! Q & A