Test-driven development with TYPO3 (T3CON10)

  • 1,944 views
Uploaded on

Slides from the tutorial at the T3CON10-Frankfurt.

Slides from the tutorial at the T3CON10-Frankfurt.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Hi Roland,

    no, this session was not recorded. It was a tutorial, not a talk, by the way (and usually the tutorials are not recorded).


    Oli
    Are you sure you want to
    Your message goes here
  • hi oliver,

    was your talk recorded back then?

    kind regards

    roland
    Are you sure you want to
    Your message goes here
    Be the first to like this
No Downloads

Views

Total Views
1,944
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
2
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide



































Transcript

  • 1. Test-driven development for TYPO3 Oliver Klee, T3CON10-Frankfurt
  • 2. Why write unit tests?
  • 3. Green feels good!
  • 4. Green feels good!
  • 5. Manual testing is cumbersome
  • 6. Automated testing is fast
  • 7. Unit tests for the Realty Manager extension
  • 8. more than 1600 tests
  • 9. in less than 60 seconds
  • 10. Verify that your code does what you expect
  • 11. Make sure that your changes won‘t break anything
  • 12. Create a safety net for refactoring
  • 13. Let‘s get some terms straight
  • 14. Know your Tools
  • 15. The phpunit extension has it all
  • 16. The phpunit extension has it all phpunit (TYPO3 extension)
  • 17. The phpunit extension has it all phpunit (TYPO3 extension) PHPUnit (PEAR package)
  • 18. The phpunit extension has it all phpunit (TYPO3 extension) PHPUnit (PEAR package) Testrunner (back-end- module)
  • 19. The phpunit extension has it all phpunit (TYPO3 extension) PHPUnit (PEAR package) Testrunner Testrunner (CLI (back-end- module) module)
  • 20. Two tests meet in a bar ...
  • 21. Two tests Test meet in a bar ...
  • 22. Two tests Test meet in a Assertion bar ...
  • 23. Two tests Test meet in a Assertion bar ... Test Test
  • 24. Two tests Test meet in a Assertion bar ... Test Test Testcase
  • 25. Two tests Test meet in a Assertion bar ... Test Test Testcase Testcase
  • 26. Two tests Test meet in a Assertion bar ... Test Test Testcase Testcase Testsuite
  • 27. Code test-first
  • 28. Code test-first
  • 29. Code test-first write test
  • 30. Code test-first write test
  • 31. Code test-first write write test code
  • 32. Code test-first write write test code
  • 33. Code test-first write write test code
  • 34. Code test-first write write test code refactor
  • 35. Code test-first write write test code refactor