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
Ian Rodrigues
March 16, 2019
Technology
1
69
Testando PHP na Prática - 5º Encontro de Devs PHP com Rapadura
Ian Rodrigues
March 16, 2019
Tweet
Share
More Decks by Ian Rodrigues
See All by Ian Rodrigues
Trabalhando com Value Objects no PHP
ianrodrigues
0
380
Refactoring: porquê, quando e como
ianrodrigues
1
130
Refactoring: porque, quando e como
ianrodrigues
0
100
Building APIs with Lumen
ianrodrigues
0
64
Other Decks in Technology
See All in Technology
ABEMAのバグバウンティの取り組み
kurochan
1
610
20260320_JaSST26_Tokyo_登壇資料.pdf
mura_shin
0
120
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
180
中央集権型を脱却した話 分散型をやめて、連邦型にたどり着くまで
sansantech
PRO
1
340
Phase06_ClaudeCode実践
overflowinc
0
1.8k
Phase11_戦略的AI経営
overflowinc
0
1.4k
【PHPerKaigi2026】OpenTelemetry SDKを使ってPHPでAPMを自作する
fendo181
1
180
SaaSに宿る21g
kanyamaguc
2
150
Physical AI on AWS リファレンスアーキテクチャ / Physical AI on AWS Reference Architecture
aws_shota
1
130
How to install a gem
indirect
0
1.1k
Phase12_総括_自走化
overflowinc
0
1.4k
俺の/私の最強アーキテクチャ決定戦開催 ― チームで新しいアーキテクチャに適合していくために / 20260322 Naoki Takahashi
shift_evolve
PRO
1
430
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
91
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
91
How to Talk to Developers About Accessibility
jct
2
160
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
160
Being A Developer After 40
akosma
91
590k
A Soul's Torment
seathinner
5
2.5k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
840
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
The untapped power of vector embeddings
frankvandijk
2
1.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
790
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!