Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Testando PHP na Prática - 5º Encontro de Devs P...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ian Rodrigues
March 16, 2019
Technology
74
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testando PHP na Prática - 5º Encontro de Devs PHP com Rapadura
Ian Rodrigues
March 16, 2019
More Decks by Ian Rodrigues
See All by Ian Rodrigues
Trabalhando com Value Objects no PHP
ianrodrigues
0
410
Refactoring: porquê, quando e como
ianrodrigues
1
140
Refactoring: porque, quando e como
ianrodrigues
0
120
Building APIs with Lumen
ianrodrigues
0
71
Other Decks in Technology
See All in Technology
AIは推し活である。
kurazuuuuuu
0
200
作って終わりじゃないサーバーレス 〜9年運用する大規模EC物流API基盤の設計・運用のリアル〜
zozotech
PRO
0
160
あけおめLINE 傾向とその対策
nasa9084
0
130
安心して変更できるWebフロントエンドの作り方
pirosikick
5
2.7k
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
180
あるけみー式LTスライド作成術
alchemy1115
2
220
EventBridge に「合流」はない ― サーバーレスのワークフローを育てるということ / No Join in EventBridge
yusukeshimizu
2
140
HRC_Frontend_Conference_Fukuoka_2026.pdf
ts020
0
750
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
860
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.8k
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
190
2026-09-18 gotanda.sre Terraformで複数環境作ったり、複数Stateに分割したりそれとTerragrunt / Terraform multi envs and multi states
masasuzu
2
510
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
320
Building the Perfect Custom Keyboard
takai
2
880
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
240
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Six Lessons from altMBA
skipperchong
29
4.5k
Claude Code のすすめ
schroneko
67
230k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Automating Front-end Workflow
addyosmani
1369
210k
The Cost Of JavaScript in 2023
addyosmani
55
10k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
250
Ethics towards AI in product and experience design
skipperchong
2
380
Transcript
Testando PHP na prática! 16 de Março de 2019
Fala pessoal! Software Engineer @ Oowlish Medium: @ianrodrigues Github: @ianrodrigues
“Eu escrevo testes porque eu não sou perfeito”
None
testar é o ato de verificar se o software ou
parte dele está livre de defeitos
Caso 1
None
Caso 2
None
None
None
2h fora do ar
~ US$ 70.000,00
~ R$ 267.000,00
Exemplo 1
None
Exemplo 2
None
None
Código “Legado”
código sem testes o que é “correto”?
alto acoplamento baixa coesão violação da SRP
Meu Objetivo
respeitar o que funciona não quebrar entregar funcionalidade
em um ritmo “sustentável”
“hello darkness, my old friend”
Exemplo 3 live coding
Indo Além
TDD Mutation Tests Continuous Integration
Laracasts Journey: Testing Adam Wathan Magic Tricks of Testing
PHPUnit Codeception Behat PHPSpec
Obrigado!