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
78
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
380
Building Environments with Ansible
jakubjarosz
0
420
a quick look at webtest & pytest
jakubjarosz
1
1.3k
Data Driven Integration Testing
jakubjarosz
2
320
Multi Mechanize
jakubjarosz
0
150
Other Decks in Programming
See All in Programming
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
190
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
310
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
130
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
190
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
470
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
350
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
2
300
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
130
Webの地図
yosuke_furukawa
PRO
6
4.7k
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
390
setup-vp GitLab対応の裏側
naokihaba
0
120
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
4
12k
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
510
We Have a Design System, Now What?
morganepeng
55
8.3k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Pragmatic Product Professional
lauravandoore
37
7.5k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Marketing to machines
jonoalderson
1
5.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
820
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
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