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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Rogério Chaves
February 18, 2015
Technology
87
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Self-testing Code
A little about automated tests
Rogério Chaves
February 18, 2015
More Decks by Rogério Chaves
See All by Rogério Chaves
O problema das Fake News
rogeriochaves
1
200
A Brief History of Frontend
rogeriochaves
1
65
Implementando PWA em qualquer projeto
rogeriochaves
2
220
Microfrontends
rogeriochaves
2
150
Introducción a Elm
rogeriochaves
0
80
Immutable App Architecture
rogeriochaves
0
230
Faça programação funcional com JavaScript codando menos
rogeriochaves
4
510
Introduction to Elm
rogeriochaves
2
160
Single State Atom apps
rogeriochaves
1
190
Other Decks in Technology
See All in Technology
從開發到部署全都交給 AI:實作 AI 驅動的自動化流程
appleboy
0
170
GitHub Copilot 最新アップデート – 「一歩先」の実践活用術
moulongzhang
5
1.9k
AI 不只幫你寫 Code: 當專案從 300 暴增到 1500, 我們如何撐住 DevOps
appleboy
0
240
IaC コードを資産へ:AWS CDK 社内ライブラリと横断展開 / aws-summit-japan-2026
gotok365
10
1.6k
40代で“やっとエンジニアになれた”――閉じた学びを開き、空の青さを知る / 20260628 Naoki Takahashi
shift_evolve
PRO
4
890
AI時代に求められる技術力 フロンティア・クリエイティビティ / Technical Excellence in the AI Era: Frontier Creativity
kaonavi
0
110
クレデンシャル流出 ― 攻撃 3 時間 vs 復旧 10 時間。この非対称性にどう備えるか
kazzpapa3
3
570
MUSUBI 田中裕一『AIと共に行う「しごとのリデザイン」- スモールバックオフィス編』AI Ops Lab #4
musubi
0
320
【Snowflake Summit 2026 Recap!!】Snowflake Summit Deep Dive: Security & Governance
civitaspo
1
320
螺旋型キャリアの生存戦略 / kinoko-conf2026
rakus_dev
1
1k
週末にループ・エンジニアリングの理解を深めるためのスライド
nagatsu
0
330
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
7.6k
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.8k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
730
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
740
Optimizing for Happiness
mojombo
378
71k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
470
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
340
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
190
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
420
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
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