Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
74
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
48
Implementando PWA em qualquer projeto
rogeriochaves
2
200
Microfrontends
rogeriochaves
2
140
Introducción a Elm
rogeriochaves
0
71
Immutable App Architecture
rogeriochaves
0
210
Faça programação funcional com JavaScript codando menos
rogeriochaves
4
480
Introduction to Elm
rogeriochaves
2
140
Single State Atom apps
rogeriochaves
1
180
Other Decks in Technology
See All in Technology
SREには開発組織全体で向き合う
koh_naga
0
370
Snowflakeでデータ基盤を もう一度作り直すなら / rebuilding-data-platform-with-snowflake
pei0804
6
1.6k
プロンプトやエージェントを自動的に作る方法
shibuiwilliam
13
11k
20251218_AIを活用した開発生産性向上の全社的な取り組みの進め方について / How to proceed with company-wide initiatives to improve development productivity using AI
yayoi_dd
0
130
AIの長期記憶と短期記憶の違いについてAgentCoreを例に深掘ってみた
yakumo
4
430
AWS運用を効率化する!AWS Organizationsを軸にした一元管理の実践/nikkei-tech-talk-202512
nikkei_engineer_recruiting
0
100
Amazon Bedrock Knowledge Bases × メタデータ活用で実現する検証可能な RAG 設計
tomoaki25
1
110
S3を正しく理解するための内部構造の読解
nrinetcom
PRO
2
160
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
3.4k
re:Invent2025 3つの Frontier Agents を紹介 / introducing-3-frontier-agents
tomoki10
0
240
AI時代のワークフロー設計〜Durable Functions / Step Functions / Strands Agents を添えて〜
yakumo
3
300
MariaDB Connector/C のcaching_sha2_passwordプラグインの仕様について
boro1234
0
450
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Making Projects Easy
brettharned
120
6.5k
Scaling GitHub
holman
464
140k
We Have a Design System, Now What?
morganepeng
54
7.9k
The Cult of Friendly URLs
andyhume
79
6.7k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Being A Developer After 40
akosma
91
590k
Embracing the Ebb and Flow
colly
88
4.9k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
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