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
44
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Fast, Robust, Accurate Or how to love your tests again
An empiric take to testing.
David
November 18, 2022
More Decks by David
See All by David
Testing beyond QualityAssurance
xuaps
0
83
WebRTC
xuaps
0
120
Why Django sucks?
xuaps
0
85
Other Decks in Technology
See All in Technology
TypeScript入門 2026
recruitengineers
PRO
3
550
Webアクセシビリティ入門 2026
recruitengineers
PRO
3
540
サイバー捜査員研修(前半)
nomizone
1
2k
PLATEAU で バーチャル花火大会
tatsuya1970
0
150
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
720
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
Genie Codeハンズオン基礎編
taka_aki
1
110
Model Studio CLI × Token Plan
maigo999
0
150
【CEDEC2026】グラフィックスエンジニアのためのニューラルシェーディング入門
cygames
PRO
0
140
SmartHR Engineering Team Deck
smarthr
1
1.9k
FDEの心得
noriakioji
3
4.2k
猫付きpingコマンドを自作
uyuki234
0
210
Featured
See All Featured
Design in an AI World
tapps
1
280
Prompt Engineering for Job Search
mfonobong
0
400
Context Engineering - Making Every Token Count
addyosmani
9
1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Paper Plane (Part 1)
katiecoart
PRO
1
10k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
480
How to train your dragon (web standard)
notwaldorf
97
6.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
How to make the Groovebox
asonas
2
2.3k
New Earth Scene 8
popppiees
3
2.5k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
630
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]