Coffee example
This is the example project used for demonstrating test-driven development (TDD) with PHPUnit for TYPO3 CMS in Oliver Klee's workshops.
Installing the extension
For a TYPO3 installation in Composer mode
Add the following repository and require to the composer.json
of your
TYPO3 installation:
"require": {
"oliverklee/coffee": "@dev"
}
For a TYPO3 installation in classic (non-Composer) mode
Download the extensions as a ZIP from GitHub and upload it in the extension manager.
Creating new extensions with automated tests
For creating new extensions, I recommend taking Helmut Hummel's extension skeleton as a starting point.
About me (Oliver Klee)
I am the maintainer of the PHPUnit TYPO3 extension, which is available in the TYPO3 extension repository (TER).
You can book me for workshops at your company.
I also frequently give workshops at the TYPO3 Developer Days.
More Documentation
Other example projects
- Tea example for unit tests for extbase extensions for TYPO3 CMS
- Selenium demo for using Selenium with PHPUnit
- Anagram finder is the finished result of a code kata for TDD
- TDD Seed for starting PHPUnit projects with Composer (without TYPO3 CMS)