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
Fast, Robust, Accurate Or how to love your test...
Search
David
November 18, 2022
Technology
0
31
Fast, Robust, Accurate Or how to love your tests again
An empiric take to testing.
David
November 18, 2022
Tweet
Share
More Decks by David
See All by David
Testing beyond QualityAssurance
xuaps
0
80
WebRTC
xuaps
0
120
Why Django sucks?
xuaps
0
79
Other Decks in Technology
See All in Technology
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
170
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
680
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
500
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
210
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
150
AI駆動開発を事業のコアに置く
tasukuonizawa
1
360
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
140
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
2
3.1k
Why Organizations Fail: ノーベル経済学賞「国家はなぜ衰退するのか」から考えるアジャイル組織論
kawaguti
PRO
1
180
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
330
配列に見る bash と zsh の違い
kazzpapa3
3
170
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
470
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Leo the Paperboy
mayatellez
4
1.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
460
Ethics towards AI in product and experience design
skipperchong
2
200
How to make the Groovebox
asonas
2
1.9k
The SEO Collaboration Effect
kristinabergwall1
0
350
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
440
Transcript
@xuapsdev Fast, Robust, Accurate (WIP) Or how to love your
tests again
This is not a talk about opinions
1 - We progress faster with test
2 - Bad tests could be worst than no tests
None
So, what is a bad test from an empirical point
of view?
None
Slow tests
Slow tests False alarms
Slow tests False alarms Di ffi cult to read tests
Brittle tests Slow tests False alarms Di ffi cult to
read tests
Brittle tests Slow tests False alarms Di ffi cult to
read tests What else?
3 properties Speed Detection of regressions Resistance to refactor
Speed
Resistance to refactor
Detection of regression
Resistance to refactor Detection of regressions Speed End to end
test Trivial tests Brittle tests
Oh boy my tests are really bad…
I am so happy that my tests are so good…
None
Lets get some data
Speed
DEMO
Resistance to refactor
Resistance to refactor
DEMO
Detection of regression
Detection of regression
DEMO
I need to start using this right now
How am I using this data?
To decide how to test something
Tune it!
Tune it! Resistance to refactor Speed Detection of regressions
Tune it! Resistance to refactor Speed Detection of regressions Resistance
to refactor Detection of regressions Speed End to end test Trivial tests Brittle tests
To decide if write a test is worthy or not
No test is better than a bad test but, then
we need something else
O b s e r v a b i l
i t y
@xuapsdev @
[email protected]
Do you want an extra ball?
Maintainability Extra ball
None
@xuapsdev @
[email protected]