• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Unit testing for the TYPO3 4.x core (T3DD10)
 

Unit testing for the TYPO3 4.x core (T3DD10)

on

  • 1,546 views

 

Statistics

Views

Total Views
1,546
Views on SlideShare
1,545
Embed Views
1

Actions

Likes
1
Downloads
0
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />

Unit testing for the TYPO3 4.x core (T3DD10) Unit testing for the TYPO3 4.x core (T3DD10) Presentation Transcript

  • Unit testing for the TYPO3 4.x core Oliver Klee, T3DD10
  • Why write unit tests for the Core?
  • Verify that your code does what you expect
  • Make sure people won‘t break your code
  • Create a safety net for refactoring
  • „Reviewing patches is like cleaning other people's bathroom“ (OH)
  • Get your patches reviewed more quickly
  • (and write easy-to-read, well- documented, well-formatted patches)
  • Let‘s get some terms straight
  • The phpunit extension has it all
  • The phpunit extension has it all phpunit (TYPO3 extension)
  • The phpunit extension has it all phpunit (TYPO3 extension) PHPUnit (PEAR package)
  • The phpunit extension has it all phpunit (TYPO3 extension) PHPUnit (PEAR package) Testrunner (back-end- module)
  • The phpunit extension has it all phpunit (TYPO3 extension) PHPUnit (PEAR package) Testrunner Testrunner (CLI (back-end- module) module)
  • Two tests meet in a bar ...
  • Two tests Test meet in a bar ...
  • Two tests Test meet in a Assertion bar ...
  • Two tests Test meet in a Assertion bar ... Test Test
  • Two tests Test meet in a Assertion bar ... Test Test Testcase
  • Two tests Test meet in a Assertion bar ... Test Test Testcase Testcase
  • Two tests Test meet in a Assertion bar ... Test Test Testcase Testcase Testsuite
  • Code test-first
  • Code test-first
  • Code test-first write test
  • Code test-first write test
  • Code test-first write write test code
  • Code test-first write write test code
  • Code test-first write write test code
  • Code test-first write write test code refactor
  • Code test-first write write test code refactor