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
Flaky tests - Fighting nightmares
Search
Ramona Schwering
March 25, 2021
Programming
0
180
Flaky tests - Fighting nightmares
Ramona Schwering
March 25, 2021
Tweet
Share
More Decks by Ramona Schwering
See All by Ramona Schwering
From the Crypt to the Code
leichteckig
0
24
You shall not pass!? A short story of customizable login experiences
leichteckig
0
35
Plants vs thieves: Automated Tests in the World of Web Security
leichteckig
0
120
Access Granted!
leichteckig
0
82
Who are vue? Authn in Vue, the important parts
leichteckig
0
66
Vue Fortified: Best Practices for Web App Security
leichteckig
0
120
It's a (testing) trap! - Common end-to-end pitfalls and how to solve them
leichteckig
0
150
Measure and improve frontend performance by using test automation
leichteckig
0
150
You belong here! On hurdles and happiness as women in IT
leichteckig
0
50
Other Decks in Programming
See All in Programming
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
540
GitHubで育つ コラボレーション文化 : ニフティでのインナーソース挑戦事例 - 2024-12-16 GitHub Universe 2024 Recap in ZOZO
niftycorp
PRO
0
1.1k
php-conference-japan-2024
tasuku43
0
410
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
360
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.3k
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
6
1.3k
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
290
103 Early Hints
sugi_0000
1
330
AppRouterを用いた大規模サービス開発におけるディレクトリ構成の変遷と問題点
eiganken
1
410
良いユニットテストを書こう
mototakatsu
11
3.5k
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
860
Zoneless Testing
rainerhahnekamp
0
150
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
Gamification - CAS2011
davidbonilla
80
5.1k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
We Have a Design System, Now What?
morganepeng
51
7.3k
4 Signs Your Business is Dying
shpigford
182
21k
Automating Front-end Workflow
addyosmani
1366
200k
Facilitating Awesome Meetings
lara
50
6.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Designing for Performance
lara
604
68k
How GitHub (no longer) Works
holman
312
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Invisible Side of Design
smashingmag
299
50k
Transcript
Flaky Tests Fighting Nightmares
Flaky Tests @leichteckig
Flaky Tests @leichteckig
The boy who cried wolf Photo by hp koch on
Unsplash
Flaky Tests @leichteckig –Aesop „A liar will not be believed,
even when he speaks the truth.“
An ugly pattern emerges Photo by Pelly Benassi on Unsplash
Flaky Tests @leichteckig –Someone from my development team „Oh that
test, yeah it sometimes fails, just kick the build off again.“
Spotting the causes Photo by Paul Green on Unsplash
Test-sided causes Photo by Ferenc Almasi on Unsplash
Flaky Tests @leichteckig 🗝 📂 🔗 ⏱ 📑
Environment-sided causes Photo by Taylor Vick on Unsplash
Flaky Tests @leichteckig 🚰 🔗 📦
Product-sided causes Photo by Markus Spiske on Unsplash
Flaky Tests @leichteckig –Sam Saffron „In some cases when fixing
a flaky tests, the fix is in the app, not in the test.“
Photo by Franck V. on Unsplash Finding a way out
Start an honest discussion with your team Photo by me
Flaky Tests @leichteckig 🗑 ♻ 🤷 ☣
Run test in a loop Photo by Nareeta Martin on
Unsplash
Keep tests isolated Photo by Ryan Loughlin on Unsplash
Flaky Tests Test data management @leichteckig
Optimise test structure Photo by Kaleidico on Unsplash
Automatic test retries Photo by Jim Wilson on Unsplash
Flaky Tests Retries in Gitlab @leichteckig
Flaky Tests Retries in Cypress @leichteckig
Add purpose built diagnostic code Photo by Agence Olloweb on
Unsplash
Flaky Tests Add purpose built diagnostic code @leichteckig
Matching waiting strategy Photo by Phil Hearing on Unsplash
Exit! Photo by Michael Jasmund on Unsplash
Thank you! Photo by Wilhelm Gunktel on Unsplash Twitter: @leichteckig