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
Self-testing Code
Search
Rogério Chaves
February 18, 2015
Technology
1
75
Self-testing Code
A little about automated tests
Rogério Chaves
February 18, 2015
Tweet
Share
More Decks by Rogério Chaves
See All by Rogério Chaves
O problema das Fake News
rogeriochaves
1
180
A Brief History of Frontend
rogeriochaves
1
50
Implementando PWA em qualquer projeto
rogeriochaves
2
210
Microfrontends
rogeriochaves
2
140
Introducción a Elm
rogeriochaves
0
71
Immutable App Architecture
rogeriochaves
0
220
Faça programação funcional com JavaScript codando menos
rogeriochaves
4
490
Introduction to Elm
rogeriochaves
2
140
Single State Atom apps
rogeriochaves
1
180
Other Decks in Technology
See All in Technology
みんなでAI上手ピーポーになろう! / Let’s All Get AI-Savvy!
kaminashi
0
150
【Agentforce Hackathon Tokyo 2025 発表資料】みらいシフト:あなた働き方を、みらいへシフト。
kuratani
0
120
Data Hubグループ 紹介資料
sansan33
PRO
0
2.6k
「リリースファースト」の実感を届けるには 〜停滞するチームに変化を起こすアプローチ〜 #RSGT2026
kintotechdev
0
1.1k
First-Principles-of-Scrum
hiranabe
4
2.3k
Node vs Deno vs Bun 〜推しランタイムを見つけよう〜
kamekyame
1
520
「違う現場で格闘する二人」——社内コミュニティがつないだトヨタ流アジャイルの実践とその先
shinichitakeuchi
0
450
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
コミュニティが持つ「学びと成長の場」としての作用 / RSGT2026
ama_ch
2
340
純粋なイミュータブルモデルを設計してからイベントソーシングと組み合わせるDeciderの実践方法の紹介 /Introducing Decider Pattern with Event Sourcing
tomohisa
1
1.2k
ファインディにおけるフロントエンド技術選定の歴史
puku0x
2
1.5k
AI アクセラレータチップ AWS Trainium/Inferentia に 今こそ入門
yoshimi0227
1
250
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.1k
30 Presentation Tips
portentint
PRO
1
190
How to Ace a Technical Interview
jacobian
281
24k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
59
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
99
How to Think Like a Performance Engineer
csswizardry
28
2.4k
The Cost Of JavaScript in 2023
addyosmani
55
9.4k
Balancing Empowerment & Direction
lara
5
840
Paper Plane
katiecoart
PRO
0
45k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
82
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
700
Transcript
SELF-TESTING CODE
WHAT IS THIS? 2
MOST COMMON TYPES OF TEST 3 Unit Tests Integration Tests
Acceptance Tests
OTHER TYPES OF TESTS •Compiler •Lint •Smoke Tests •Contract Tests
•Coverage Test •Performance Tests 4
TEST PYRAMID 5 Unit Tests Integration Tests Acceptance Tests
PIPELINE 6 Fast feedback Integration Acceptance Deploy
MOCKS 7
WHAT IS TDD? 8 Test Fail Code Pass Refactor
TESTING FRAMEWORKS 9
EXAMPLES 10
EXAMPLES 11
EXAMPLES 12
TEST RUNNERS 13 Guard::Test
LIVE CODING 14
THANK YOU