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
DX Improvement at Scale
ntk1000
3
440
JAWS Days 2026 楽しく学ぼう! 認証認可 入門/20260307-jaws-days-novice-lane-auth
opelab
10
1.7k
トップマネジメントとコンピテンシーから考えるエンジニアリングマネジメント
zigorou
4
800
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
130
DevOpsエージェントで実現する!! AWS Well-Architected(W-A) を実現するシステム設計 / 20260307 Masaki Okuda
shift_evolve
PRO
3
430
S3はフラットである –AWS公式SDKにも存在した、 署名付きURLにおけるパストラバーサル脆弱性– / JAWS DAYS 2026
flatt_security
0
1.6k
[AEON TECH HUB #24] お客様の長期的興味の理解に向けて
alpicola
0
130
事例に見るスマートファクトリーへの道筋〜工場データをAI Readyにする実践ステップ〜
hamadakoji
1
260
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
生成AIの利用とセキュリティ /gen-ai-and-security
mizutani
1
1.5k
Datadog の RBAC のすべて
nulabinc
PRO
3
410
Kubernetesにおける推論基盤
ry
1
210
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
190
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
630
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
920
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
470
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
210
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Faster Mobile Websites
deanohume
310
31k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
A Tale of Four Properties
chriscoyier
163
24k
Making Projects Easy
brettharned
120
6.6k
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]