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
Test-driven development with PHPUnit
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Oliver Klee
July 15, 2017
Technology
1
490
Test-driven development with PHPUnit
Oliver Klee
July 15, 2017
Tweet
Share
More Decks by Oliver Klee
See All by Oliver Klee
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
85
Team-Management-Plattform
oliverklee
0
68
Vertrauen in Teams & Führung
oliverklee
0
250
Software-Qualität von TYPO3-Extensions automatisieren
oliverklee
0
43
Vertrauen in Teams & Führung
oliverklee
0
160
Testing von TYPO3-Extensions
oliverklee
0
80
Software-Qualität von Extensions automatisieren
oliverklee
1
54
Content-Synchronisierung
oliverklee
0
160
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
330
Other Decks in Technology
See All in Technology
CodeRabbit CLI + Claude Codeの連携について
oikon48
1
620
習慣とAIと環境 — 技術探求を続ける3つの鍵
azukiazusa1
3
740
これまでのネットワーク運用を変えるかもしれないアプデをおさらい
hatahata021
4
270
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
570
Kusakabe_面白いダッシュボードの表現方法
ykka
0
380
Kaggleコンペティション「MABe Challenge - Social Action Recognition in Mice」振り返り
yu4u
1
730
AI時代のPMに求められるのは 「Ops」と「Enablement」
shimotaroo
1
300
スクラムを一度諦めたチームにアジャイルコーチが入ってどう変化したか / A Team's Second Try at Scrum with an Agile Coach
kaonavi
0
280
書籍執筆での生成AIの活用
sat
PRO
1
190
ファインディにおけるフロントエンド技術選定の歴史
puku0x
2
1.6k
SwiftDataを覗き見る
akidon0000
0
300
Hardware/Software Co-design: Motivations and reflections with respect to security
bcantrill
1
250
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Designing Powerful Visuals for Engaging Learning
tmiket
0
210
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
110
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.6k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Utilizing Notion as your number one productivity tool
mfonobong
2
200
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
290
Unsuck your backbone
ammeep
671
58k
A Soul's Torment
seathinner
5
2.2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
290
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
Transcript
Test-driven Development with PHPUnit Oliver Klee, 2017-07 @oliklee
[email protected]
Unit Tests?
Manual testing is cumbersome
Automated testing is fast
Unit tests for the Realty Manager TYPO3 extension
>1600 tests
< 60 seconds
Verify that your code does what you expect
Make sure that your changes won‘t break anything
Keep others from breaking your code
Don’t break anything even in complex projects
Create a safety net for refactoring or for TYPO3 updates
Improve the structure of your code
Green feels good!
Let’s get some terms straight
Testsuite Testcase Test Assertion Test Test Testcase
Code test-first write test write code refactor
None