Coffee unit testing example
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Coffee example

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

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)