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
65
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
170
A Brief History of Frontend
rogeriochaves
1
38
Implementando PWA em qualquer projeto
rogeriochaves
2
190
Microfrontends
rogeriochaves
2
140
Introducción a Elm
rogeriochaves
0
70
Immutable App Architecture
rogeriochaves
0
210
Faça programação funcional com JavaScript codando menos
rogeriochaves
4
460
Introduction to Elm
rogeriochaves
2
140
Single State Atom apps
rogeriochaves
1
180
Other Decks in Technology
See All in Technology
ClaudeCode_vs_GeminiCLI_Terraformで比較してみた
tkikuchi
1
1.8k
Amplify Gen2から知るAWS CDK Toolkit Libraryの使い方/How to use the AWS CDK Toolkit Library as known from Amplify Gen2
fossamagna
1
350
振り返りTransit Gateway ~VPCをいい感じでつなげるために~
masakiokuda
4
210
[SRE NEXT 2025] すみずみまで暖かく照らすあなたの太陽でありたい
carnappopper
2
470
セキュアなAI活用のためのLiteLLMの可能性
tk3fftk
1
350
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
820
今だから言えるセキュリティLT_Wordpress5.7.2未満を一斉アップデートせよ
cuebic9bic
2
170
QuickSight SPICE の効果的な運用戦略~S3 + Athena 構成での実践ノウハウ~/quicksight-spice-s3-athena-best-practices
emiki
0
290
OpenTelemetryセマンティック規約の恩恵とMackerel APMにおける活用例 / SRE NEXT 2025
mackerelio
3
2k
ソフトウェアQAがハードウェアの人になったの
mineo_matsuya
3
220
〜『世界中の家族のこころのインフラ』を目指して”次の10年”へ〜 SREが導いたグローバルサービスの信頼性向上戦略とその舞台裏 / Towards the Next Decade: Enhancing Global Service Reliability
kohbis
3
1.5k
“日本一のM&A企業”を支える、少人数SREの効率化戦略 / SRE NEXT 2025
genda
1
280
Featured
See All Featured
Producing Creativity
orderedlist
PRO
346
40k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Navigating Team Friction
lara
187
15k
Being A Developer After 40
akosma
90
590k
Statistics for Hackers
jakevdp
799
220k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Raft: Consensus for Rubyists
vanstee
140
7k
GraphQLとの向き合い方2022年版
quramy
49
14k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
How GitHub (no longer) Works
holman
314
140k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
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