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
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
72
1
Share
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
390
Refactoring: porquê, quando e como
ianrodrigues
1
130
Refactoring: porque, quando e como
ianrodrigues
0
110
Building APIs with Lumen
ianrodrigues
0
68
Other Decks in Technology
See All in Technology
製造業のクラウド活用最適解〜AI,DXを加速するデータ基盤の作り方〜
hamadakoji
0
320
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
50k
JJUG CCC 2026 Spring AI時代の開発こそ標準化を武器に! ― 方式・プロセス・プラットフォームの標準化
s27watanabe
2
690
Platform engineering for developers, architects & the rest of us (AI agents)
danielbryantuk
0
180
ポスター発表&デモと総括 / Poster Presentations & Demonstrations and Summary
ks91
PRO
0
190
Diagnosing performance problems without the guesswork
elenatanasoiu
0
160
Databricks における 生成AIガバナンスの実践
taka_aki
1
280
大学生が本気でDatabricksを活用してDiscordサークルをデータ駆動させてみた
phantomjuju
1
340
プラットフォームエンジニア ワークショップ/ platform-workshop
databricksjapan
0
230
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
700
TypeScript Compiler APIとPHP-Parserを活用し、TypeScriptとPHPで型を共有する
shuta13
0
350
チームで実践する AI-DLC 思考の軌跡を残すチェックポイント設計
belongadmin
0
2.1k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
22k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
150
Into the Great Unknown - MozCon
thekraken
41
2.5k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
360
Deep Space Network (abreviated)
tonyrice
0
160
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
720
Navigating Team Friction
lara
192
16k
Tell your own story through comics
letsgokoyo
1
940
Chasing Engaging Ingredients in Design
codingconduct
0
210
Large-scale JavaScript Application Architecture
addyosmani
515
110k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The untapped power of vector embeddings
frankvandijk
2
1.7k
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!