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
Writing PHPUnit tests for TYPO3 extensions
Search
Oliver Klee
August 04, 2023
Programming
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Writing PHPUnit tests for TYPO3 extensions
Oliver Klee
August 04, 2023
More Decks by Oliver Klee
See All by Oliver Klee
Testing von TYPO3-Extensions
oliverklee
0
28
Softwarequalität für öffentliche TYPO3-Extensions
oliverklee
0
81
Psychologische Sicherheit
oliverklee
0
49
Generative KI, Ethik und Nachhaltigkeit
oliverklee
0
260
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
150
Team-Management-Plattform
oliverklee
0
110
Vertrauen in Teams & Führung
oliverklee
0
340
Software-Qualität von TYPO3-Extensions automatisieren
oliverklee
0
71
Vertrauen in Teams & Führung
oliverklee
0
200
Other Decks in Programming
See All in Programming
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
230
Spec-driven Development with AI
simas
PRO
0
2.3k
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
160
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
330
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
310
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
1.8k
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
290
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
240
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
230
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
160
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
220
Event is what happens
moro
2
3.8k
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
The SEO identity crisis: Don't let AI make you average
varn
0
630
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Everyday Curiosity
cassininazir
0
390
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
550
Become a Pro
speakerdeck
PRO
31
6.4k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Navigating Team Friction
lara
192
16k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Transcript
Writing PHPUnit tests for TYPO3 extensions Oliver Klee, 2023-08
@
[email protected]
|
[email protected]
About me Oliver „Oli“ Kle e #bon n #extension-de v
#workshop-teache r #unit-testing-gu y #phpstan-gu y #best-practices-tea m #motivation-research-tea m #team-leadership-working-grou p #game-cookin g #powermetal
Unit Tests?
Manual testing is cumbersome
Automated testing is fast
Unit tests for the TYPO3 Core
Unit Tests 406 (144) tests/s
Functional Tests 8.13 (1.97) tests/s
Acceptance Tests .009 (.003) tests/s
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, PHP
or Symfony updates
Improve the structure of your code
Find the location of bugs
Green feels good!
Test levels http:// fi lipdefar.com/2015/06/tested-be-thy-name.html
Unit tests are small and fast
Functional tests test how components work together also called integration
tests
Acceptance tests Codeception Cypress
The testing pyramid Unit Functional/ Integration Acceptance Photo by Eugene
Tkachenko on Unsplash: https://unsplash.com/photos/TF47p5PHW18