Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Testes Unitários em PHP Laravel: Começando com TDD
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Guilherme Augusto
June 01, 2025
Programming
26
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
36
React além desse mundo
nikolayevsk404
0
26
Frontend responsável: Técnicas com JavaScript para descarregar o Backend
nikolayevsk404
0
25
SEMINÁRIO VIVAWORKS: Como a IA me ajuda a evitar erros e melhorar meu código
nikolayevsk404
0
30
Other Decks in Programming
See All in Programming
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
190
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
1.9k
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
130
No More NoSuchMethodError
exoego
1
120
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
390
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
130
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
120
LLM 101
dalinaum
0
360
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
1
270
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
140
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
340
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
140
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
41k
Designing Experiences People Love
moore
143
24k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How STYLIGHT went responsive
nonsquared
100
6.3k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Color Theory Basics | Prateek | Gurzu
gurzu
1
500
What's in a price? How to price your products and services
michaelherold
247
13k
New Earth Scene 8
popppiees
4
2.7k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
600
The SEO identity crisis: Don't let AI make you average
varn
0
620
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
47k
Are puppies a ranking factor?
jonoalderson
2
4.1k
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