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
200
Flaky tests - Fighting nightmares
Ramona Schwering
March 25, 2021
Tweet
Share
More Decks by Ramona Schwering
See All by Ramona Schwering
The Cake Is a Lie... And So Is Your Login’s Accessibility
leichteckig
0
55
Plants vs thieves: Automated Tests in the World of Web Security
leichteckig
0
190
From the Crypt to the Code
leichteckig
0
140
You shall not pass!? A short story of customizable login experiences
leichteckig
0
67
Access Granted!
leichteckig
0
110
Who are vue? Authn in Vue, the important parts
leichteckig
0
94
Vue Fortified: Best Practices for Web App Security
leichteckig
0
150
It's a (testing) trap! - Common end-to-end pitfalls and how to solve them
leichteckig
0
170
Measure and improve frontend performance by using test automation
leichteckig
0
180
Other Decks in Programming
See All in Programming
より安全で効率的な Go コードへ: Protocol Buffers Opaque API の導入
shwatanap
2
740
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
1.3k
Kiroで始めるAI-DLC
kaonash
2
620
Rancher と Terraform
fufuhu
2
550
チームのテスト力を鍛える
goyoki
3
890
個人開発で徳島大学生60%以上の心を掴んだアプリ、そして手放した話
akidon0000
1
150
AWS発のAIエディタKiroを使ってみた
iriikeita
1
190
AIコーディングAgentとの向き合い方
eycjur
0
280
Testing Trophyは叫ばない
toms74209200
0
890
Amazon RDS 向けに提供されている MCP Server と仕組みを調べてみた/jawsug-okayama-2025-aurora-mcp
takahashiikki
1
110
為你自己學 Python - 冷知識篇
eddie
1
350
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
410
Featured
See All Featured
Thoughts on Productivity
jonyablonski
70
4.8k
Producing Creativity
orderedlist
PRO
347
40k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
How GitHub (no longer) Works
holman
315
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Typedesign – Prime Four
hannesfritz
42
2.8k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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