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
Testing von TYPO3-Extensions
Search
Oliver Klee
October 22, 2026
Programming
32
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testing von TYPO3-Extensions
Oliver Klee
October 22, 2026
Transcript
41 slides
Testing von TYPO3-Extension Oliver Klee, 2026-10 @
[email protected]
| oliverklee.de |
[email protected]
Über mich Oliver „Oli“ Klee #bonn #workshop-teacher (seit 1999) #extension-dev
(seit 2005) #unit-testing-guy (seit 2008) #phpstan-guy #best-practices-team #serious-games #metal
Workshops mit mir Extension-Entwicklung Test-driven-Development TYPO3-Extensions testen QA-Automatisierung Git &
Composer Refactoring
UnitTests?
Manuelles Testen ist mühsam
Automatisierte Tests sind schnell
Tests für den TYPO3-Core
Unit-Tests ca. 1700 Tests/s
Functional-Tests ca. 9,8 Tests/s
End-to-end-Tests ca. 0,18 Tests/s
Sicher sein, dass der Code das Richtige tut
Verhindern, dass deine Änderungen etwas anderes kaputt machen
Verhindern, dass andere Leute deinen Code kaputtmachen
Auch bei komplexen Projekten nichts kaputt machen
oder TYPO3-, PHP-, Symfony-Updates Baue ein Sicherheitsnetz fürs Refactoring
Verbessere die Struktur des Codes
Finde die Ursache von Bugs
Grün fühlt sich gut an!
Lasst uns ein paar Begriffe klarstellen
Die zwei Programmier-Modi sauber hacky
Test Assertion Test Test Testcase Testcase Testsuite
Lebenszyklus eines Tests new FooTest(); setUp(); [#Test] lifeIsGood(); tearDown();
4 Test-Phasen Setup (aufbauen) setUp() Code in der Testmethode Exercise
(ausführen) Methodenaufruf Verify (prüfen) assert…() Teardown (abbauen) tearDown()
Test-driven-Development Test schreiben Code schreiben refactoren
Auswirkungen von TDD höhere Testabdeckung erst denken, dann coden fokussierter
coden Tests testen, was der Code tun soll (anstatt, was er tut) sauberere Code-Struktur minimaler Code
Test-Level fi http:// lipdefar.com/2015/06/tested-be-thy-name.html
Unit-Tests sind klein und schnell
Functional-Tests testen das Zusammenspiel von Komponenten auch: „Integrationstests“
End-to-end-Tests t h g i r Playw s s e
r p y C
Test-Typen
Blackbox-Tests testen das nach außen Sichtbare
Whitebox-Tests testen, wie genau es innen funktioniert
Akzeptanztests m u i n e l Se n o
i t p e Co dec
AntiZombieTests-
Regressionstests
Smoketests
Smoketests
Story-Tests für Behavior-Driven Development (BDD) Behat r e b m
Cucu
Die Test-Pyramide End-to-End System Functional Unit Photo by Eugene Tkachenko
on Unsplash: https://unsplash.com/photos/TF47p5PHW18
Tests benennen
Benutze aussagekräftige Test-Namen Benenne das Verhalten. classCanBeInstantiated Nenne die Methode.
setTitleSetsTitle Nenne die Vorbedingungen. setSizeWithZeroThrowsException hasTitleForEmptyTitleReturnsFalse Benutze nicht „works“ oder „correctly“. measureFrubbleWorksCorrectly
More Decks by Oliver Klee
See All by Oliver Klee
Softwarequalität für öffentliche TYPO3-Extensions
oliverklee
0
86
Psychologische Sicherheit
oliverklee
0
53
Generative KI, Ethik und Nachhaltigkeit
oliverklee
0
290
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
160
Team-Management-Plattform
oliverklee
0
110
Vertrauen in Teams & Führung
oliverklee
0
340
Software-Qualität von TYPO3-Extensions automatisieren
oliverklee
0
73
Vertrauen in Teams & Führung
oliverklee
0
200
Testing von TYPO3-Extensions
oliverklee
0
120
Other Decks in Programming
See All in Programming
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
200
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
160
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
260
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
660
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
360
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
180
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
110
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
730
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
200
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
150
SODA - FACT BOOK(JP)
sodainc
1
40k
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
First, design no harm
axbom
PRO
2
1.4k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
3.9k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
530
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.3k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
480