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
65
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
360
Refactoring: porquê, quando e como
ianrodrigues
1
120
Refactoring: porque, quando e como
ianrodrigues
0
96
Building APIs with Lumen
ianrodrigues
0
62
Other Decks in Technology
See All in Technology
Building a cloud native business on open source
lizrice
0
140
Introduction to Bill One Development Engineer
sansan33
PRO
0
300
React19.2のuseEffectEventを追う
maguroalternative
2
570
[2025年10月版] Databricks Data + AI Boot Camp
databricksjapan
1
230
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
430
OAuthからOIDCへ ― 認可の仕組みが認証に拡張されるまで
yamatai1212
0
150
ソースを読むプロセスの例
sat
PRO
15
9.6k
RDS の負荷が高い場合に AWS で取りうる具体策 N 連発/a-series-of-specific-countermeasures-available-on-aws-when-rds-is-under-high-load
emiki
7
4.4k
生成AI時代のセキュアコーディングとDevSecOps
yuriemori
0
140
あなたの知らない Linuxカーネル脆弱性の世界
recruitengineers
PRO
3
130
OpenTelemetry が拡げる Gemini CLI の可観測性
phaya72
2
970
Wasmの気になる最新情報
askua
0
170
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
540
Faster Mobile Websites
deanohume
310
31k
Docker and Python
trallard
46
3.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Practical Orchestrator
shlominoach
190
11k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Become a Pro
speakerdeck
PRO
29
5.6k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
630
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!