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
Writing PHPUnit tests for TYPO3 extensions
Search
Oliver Klee
August 04, 2023
Programming
0
230
Writing PHPUnit tests for TYPO3 extensions
Oliver Klee
August 04, 2023
Tweet
Share
More Decks by Oliver Klee
See All by Oliver Klee
Team-Management-Plattform
oliverklee
0
29
Vertrauen in Teams & Führung
oliverklee
0
160
Software-Qualität von TYPO3-Extensions automatisieren
oliverklee
0
10
Vertrauen in Teams & Führung
oliverklee
0
110
Testing von TYPO3-Extensions
oliverklee
0
25
Software-Qualität von Extensions automatisieren
oliverklee
1
15
Content-Synchronisierung
oliverklee
0
110
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
240
Motivationspsychologie und Gamification in Non-Profit-Organisationen
oliverklee
0
140
Other Decks in Programming
See All in Programming
Boost Your Web Performance with Hyperdrive
chimame
1
180
「その気にさせる」エンジニアが 最強のリーダーになる理由
gimupop
3
320
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
200
React 19アップデートのために必要なこと
uhyo
8
1.7k
はじめての Go * WASM * OCR
sgash708
1
150
Ça bouge du côté des animations CSS !
goetter
2
170
Datadog DBMでなにができる? JDDUG Meetup#7
nealle
0
160
バイセルでの AI を用いた開発の取り組み ~ Devin, Cursor の活用事例・知見共有 ~
umaidashi
0
140
Functional APIから再考するLangGraphを使う理由
os1ma
4
500
AI Agentを利用したAndroid開発について
yuchan2215
0
150
Google Cloudとo11yで実現するアプリケーション開発者主体のDB改善
nnaka2992
1
170
変化の激しい時代における、こだわりのないエンジニアの強さ
satoshi256kbyte
1
970
Featured
See All Featured
Making Projects Easy
brettharned
116
6.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
590
Java REST API Framework Comparison - PWX 2021
mraible
29
8.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
RailsConf 2023
tenderlove
29
1k
A Philosophy of Restraint
colly
203
16k
How to Ace a Technical Interview
jacobian
276
23k
KATA
mclloyd
29
14k
Speed Design
sergeychernyshev
28
830
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Automating Front-end Workflow
addyosmani
1369
200k
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