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
63
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
350
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
claude codeでPrompt Engineering
iori0311
0
430
少人数でも回る! DevinとPlaybookで支える運用改善
ishikawa_pro
1
200
ML Pipelineの開発と運用を OpenTelemetryで繋ぐ @ OpenTelemetry Meetup 2025-07
getty708
0
230
Shadow DOMとセキュリティ - 光と影の境界を探る / Shibuya.XSS techtalk #13
masatokinugawa
0
270
Bliki (ja), and the Cathedral, and the Bazaar
koic
8
1.3k
「現場で活躍するAIエージェント」を実現するチームと開発プロセス
tkikuchi1002
6
1k
地図と生成AI
nakasho
0
690
The Madness of Multiple Gemini CLIs Developing Simultaneously with Jujutsu
gunta
1
2.5k
Power Automate のパフォーマンス改善レシピ / Power Automate Performance Improvement Recipes
karamem0
0
130
DatabricksのOLTPデータベース『Lakebase』に詳しくなろう!
inoutk
0
110
データエンジニアリング 4年前と変わったこと、 4年前と変わらないこと
tanakarian
2
350
増え続ける脆弱性に立ち向かう: 事前対策と優先度づけによる 持続可能な脆弱性管理 / Confronting the Rise of Vulnerabilities: Sustainable Management Through Proactive Measures and Prioritization
nttcom
1
150
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Designing Experiences People Love
moore
142
24k
Producing Creativity
orderedlist
PRO
346
40k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
How to Ace a Technical Interview
jacobian
278
23k
A Tale of Four Properties
chriscoyier
160
23k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.5k
Speed Design
sergeychernyshev
32
1k
Building Adaptive Systems
keathley
43
2.7k
Optimizing for Happiness
mojombo
379
70k
Agile that works and the tools we love
rasmusluckow
329
21k
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!