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, da teoria à prática!
Search
Alex Alves
June 13, 2019
Technology
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testes Unitários, da teoria à prática!
Testes Unitários, utilizando .Net, trazendo conceitos teórios para a prática.
Alex Alves
June 13, 2019
Other Decks in Technology
See All in Technology
Rust で関数型ドメインモデリング
takonda
0
140
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
Getting Started with Google Antigravity
glaforge
0
300
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
190
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
110
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
200
大型犬好きによるPugの紹介
yamanoku
1
160
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
330
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1033
470k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
How to train your dragon (web standard)
notwaldorf
96
6.9k
Marketing to machines
jonoalderson
1
5.9k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
Abbi's Birthday
coloredviolet
4
10k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Transcript
TESTES UNITÁRIOS Da Teoria à Prática Alex Alves Silva
ALEX ALVES Pós graduando em Arquitetura de Software @ IGTI
Graduado em Ciência da Computação @ UIT Desenvolvedor .Net @ BHS SOLUÇÕES DIGITAIS #TestesUnitarios @alexalves_85598 alexalves2501
Agenda • Tipos de testes • O que são testes
unitários? • Por que desenvolver testes? • Ferramentas para testes • 5 princípios do Teste de Unidade • Hands-on • Conclusão
Tipos de Testes Caixa Branca Caixa Preta Entrada e Saída
Lógica Interna
O que são testes unitários? É o teste da menor
parte testável de um programa
Por que desenvolver testes? - Automatizar - Assegurar funcionamento de
regras - Baixo custo - Rápida execução - Incentiva refatoração
None
Ferramentas para teste
5 princípios dos testes de unidade 1. Desenvolva código testável
2. Saiba o que testar 3. Comece pelo domínio 4. Utilize técnicas 5. Adote cultura de testes - Clean code - Comportamento de função - Regras de negócio - Red, Green and Refactor - TDD, BDD e ATDD
Hands-on
Hands-on https://github.com/alex250195/TestesUnitarios
Conclusão É fácil de criar Protege contra falhas É fácil
de incluir no pipeline de build Garante qualidade
Dúvidas?
Obrigado!
[email protected]