Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Test-driven Development with PHPUnit Oliver Klee, 2017-07 @oliklee
[email protected]
Slide 2
Slide 2 text
Unit Tests?
Slide 3
Slide 3 text
Manual testing is cumbersome
Slide 4
Slide 4 text
Automated testing is fast
Slide 5
Slide 5 text
Unit tests for the Realty Manager TYPO3 extension
Slide 6
Slide 6 text
>1600 tests
Slide 7
Slide 7 text
< 60 seconds
Slide 8
Slide 8 text
Verify that your code does what you expect
Slide 9
Slide 9 text
Make sure that your changes won‘t break anything
Slide 10
Slide 10 text
Keep others from breaking your code
Slide 11
Slide 11 text
Don’t break anything even in complex projects
Slide 12
Slide 12 text
Create a safety net for refactoring or for TYPO3 updates
Slide 13
Slide 13 text
Improve the structure of your code
Slide 14
Slide 14 text
Green feels good!
Slide 15
Slide 15 text
Let’s get some terms straight
Slide 16
Slide 16 text
Testsuite Testcase Test Assertion Test Test Testcase
Slide 17
Slide 17 text
Code test-first write test write code refactor
Slide 18
Slide 18 text
No content