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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Guilherme Augusto
June 01, 2025
Programming
0
12
Testes Unitários em PHP Laravel: Começando com TDD
DevParaná 06/12/2024
Guilherme Augusto
June 01, 2025
Tweet
Share
More Decks by Guilherme Augusto
See All by Guilherme Augusto
Event Driven Architecture
nikolayevsk404
0
14
React além desse mundo
nikolayevsk404
0
12
Frontend responsável: Técnicas com JavaScript para descarregar o Backend
nikolayevsk404
0
10
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
ロボットのための工場に灯りは要らない
watany
12
3.2k
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
120
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
180
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
180
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
140
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
430
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
260
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
4.6k
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
710
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
160
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Music & Morning Musume
bryan
47
7.1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
490
We Are The Robots
honzajavorek
0
200
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
270
From π to Pie charts
rasagy
0
160
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
250
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
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