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
20
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
20
React além desse mundo
nikolayevsk404
0
18
Frontend responsável: Técnicas com JavaScript para descarregar o Backend
nikolayevsk404
0
14
SEMINÁRIO VIVAWORKS: Como a IA me ajuda a evitar erros e melhorar meu código
nikolayevsk404
0
20
Other Decks in Programming
See All in Programming
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
180
OSもどきOS
arkw
0
560
A2UI という光を覗いてみる
satohjohn
1
130
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
780
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
New "Type" system on PicoRuby
pocke
1
930
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
4
1.4k
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
230
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.4k
Agentic UI
manfredsteyer
PRO
0
160
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
4.6k
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.6k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
How to train your dragon (web standard)
notwaldorf
97
6.7k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
240
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
180
4 Signs Your Business is Dying
shpigford
187
22k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
470
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
The SEO identity crisis: Don't let AI make you average
varn
0
490
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