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
Testes Unitários em PHP Laravel: Começando com TDD
Search
Guilherme Augusto
June 01, 2025
Programming
13
0
Share
Testes Unitários em PHP Laravel: Começando com TDD
DevParaná 06/12/2024
Guilherme Augusto
June 01, 2025
More Decks by Guilherme Augusto
See All by Guilherme Augusto
Event Driven Architecture
nikolayevsk404
0
15
React além desse mundo
nikolayevsk404
0
12
Frontend responsável: Técnicas com JavaScript para descarregar o Backend
nikolayevsk404
0
11
SEMINÁRIO VIVAWORKS: Como a IA me ajuda a evitar erros e melhorar meu código
nikolayevsk404
0
12
Other Decks in Programming
See All in Programming
AIを導入する前にやるべきこと
negima
2
330
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
990
第3木曜LT会 #28
tinykitten
PRO
0
120
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
160
🦞OpenClaw works with AWS
licux
1
330
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.6k
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
2
300
PHPer、Cloudflare に引っ越す
suguruooki
1
140
ハーネスエンジニアリングとは?
kinopeee
13
6.7k
AgentCore Optimizationを始めよう!
licux
3
180
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
670
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.2k
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.7k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
170
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
Navigating Team Friction
lara
192
16k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
200
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
290
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
350
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
130
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Transcript
TESTES UNITÁRIOS EM PHP LARAVEL COMEÇANDO COM TDD COMEÇAR!!!
Dev. Gamer. Guitar Player. GUILHERME AUGUSTO ADS, DBA, GAME DEV
@NIKOLAYEVSK404
Importância dos testes unitários
Importância dos testes unitários
FASES Importância dos testes unitários. O que é TDD (Test-Driven
Development). Estrutura de testes no Laravel. Boas práticas em testes unitários.
Importância dos testes unitários Redução de bugs em produção. Facilitar
refatorações. Garantir que o código funcione como esperado. REDUZIr bugs. Facilitar refatorações. FASE 1
O QUE É TDD? FASE 2 DESENVOLVIMENTO ORIENTADO A TESTES!
Importância dos testes unitários
Importância dos testes unitários
Tempo ENTREGA TESTES & PRODUTIVIDADE
ESTRUTURA DE TESTES NO LARAVEL FASE 3 PHPUnit? PEST? Como
configurar e organizar os testes no Laravel..
Importância dos testes unitários PHPUNIT PEST
FASE 4 B O A S P R Á T
I C A S E M T E S T E S U N I T Á R I O S ! Testar funcionalidades isoladas. 100% COBERTURA? + SEGURANÇA? Testar funcionalidades isoladas. Evitar dependências externas. Utilizar mocks e stubs quando necessário.
M O C K S : S I M U
L A M I N T E R A Ç Õ E S E V A L I D A M C O M P O R T A M E N T O S . S T U B S : S I M U L A M R E S P O S T A S E I S O L A M O C Ó D I G O .
CHEFÃO!!! L I V E C O D I N
G ! ! !
MUITO OBRIGADO!!! FIM!!! dark-web-studio.web.app