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
Plants vs thieves: Automated Tests in the World of Web Security
leichteckig
0
160
From the Crypt to the Code
leichteckig
0
89
You shall not pass!? A short story of customizable login experiences
leichteckig
0
45
Access Granted!
leichteckig
0
90
Who are vue? Authn in Vue, the important parts
leichteckig
0
72
Vue Fortified: Best Practices for Web App Security
leichteckig
0
130
It's a (testing) trap! - Common end-to-end pitfalls and how to solve them
leichteckig
0
160
Measure and improve frontend performance by using test automation
leichteckig
0
160
You belong here! On hurdles and happiness as women in IT
leichteckig
0
61
Other Decks in Programming
See All in Programming
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
1.9k
Amazon Bedrockマルチエージェントコラボレーションを諦めてLangGraphに入門してみた
akihisaikeda
1
160
良いコードレビューとは
danimal141
9
8.5k
Lambdaの監視、できてますか?Datadogを用いてLambdaを見守ろう
nealle
2
790
クリーンアーキテクチャから見る依存の向きの大切さ
shimabox
5
1.2k
Datadog Workflow Automation で圧倒的価値提供
showwin
1
310
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
21
4.4k
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
120
ナレッジイネイブリングにAIを活用してみる ゆるSRE勉強会 #9
nealle
0
170
楽しく向き合う例外対応
okutsu
0
740
React 19アップデートのために必要なこと
uhyo
8
1.6k
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.9k
Featured
See All Featured
Practical Orchestrator
shlominoach
186
10k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1.1k
GraphQLとの向き合い方2022年版
quramy
44
14k
Rails Girls Zürich Keynote
gr2m
94
13k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
A designer walks into a library…
pauljervisheath
205
24k
Music & Morning Musume
bryan
46
6.4k
Faster Mobile Websites
deanohume
306
31k
It's Worth the Effort
3n
184
28k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
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