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
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Flaky tests - Fighting nightmares
Ramona Schwering
March 25, 2021
More Decks by Ramona Schwering
See All by Ramona Schwering
a11y club: The Cake Is a Lie... And So Is Your Login’s a11y.
leichteckig
0
12
Dangerous Reactivity: Why AI Output Is the New XSS Vue
leichteckig
0
12
React with Caution: How to Hack Your React App (And Fix It Too)
leichteckig
0
10
Vue'tiful Defense
leichteckig
0
73
Workshop: The Cake is a Lie!
leichteckig
0
28
The Cake Is a Lie... And So Is Your Login’s Accessibility
leichteckig
0
210
Plants vs thieves: Automated Tests in the World of Web Security
leichteckig
0
220
From the Crypt to the Code
leichteckig
0
240
You shall not pass!? A short story of customizable login experiences
leichteckig
0
89
Other Decks in Programming
See All in Programming
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
170
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
120
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
120
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
400
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
540
Webフレームワークの ベンチマークについて
yusukebe
0
160
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
10
4.1k
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
480
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
220
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
160
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
2k
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
240
Producing Creativity
orderedlist
PRO
348
40k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
200
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
160
Writing Fast Ruby
sferik
630
63k
Building Adaptive Systems
keathley
44
3.1k
Music & Morning Musume
bryan
47
7.2k
The browser strikes back
jonoalderson
0
1.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
280
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
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