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
110
Plants vs thieves: Automated Tests in the World of Web Security
leichteckig
0
200
From the Crypt to the Code
leichteckig
0
150
You shall not pass!? A short story of customizable login experiences
leichteckig
0
68
Access Granted!
leichteckig
0
110
Who are vue? Authn in Vue, the important parts
leichteckig
0
96
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
モテるデスク環境
mozumasu
3
310
XP, Testing and ninja testing ZOZ5
m_seki
3
790
Range on Rails ―「多重範囲型」という新たな選択肢が、複雑ロジックを劇的にシンプルにしたワケ
rizap_tech
0
6.7k
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
770
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
820
コード生成なしでモック処理を実現!ovechkin-dm/mockioで学ぶメタプログラミング
qualiarts
0
230
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
250
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
270
なぜGoのジェネリクスはこの形なのか? - Featherweight Goが明かす設計の核心
qualiarts
0
220
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.1k
その面倒な作業、「Dart」にやらせませんか? Flutter開発者のための業務効率化
yordgenome03
1
140
いま中途半端なSwift 6対応をするより、Default ActorやApproachable Concurrencyを有効にしてからでいいんじゃない?
yimajo
2
450
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
The Invisible Side of Design
smashingmag
302
51k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Visualization
eitanlees
149
16k
Site-Speed That Sticks
csswizardry
13
920
The Language of Interfaces
destraynor
162
25k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Mobile First: as difficult as doing things right
swwweet
225
10k
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