This is a starter repository for a project with PHPUnit.
You will need a local PHP installation with Composer (which is the preferred way).
Instead, you can also use Vagrant to run on a PHP 7 box.
vagrant up
vagrant ssh
cd tdd-seed/
You will then need to set up a remote PHP interpreter and PHPUnit as described in the PhpStorm documentation.
The PHP executable path on the Vagrant machine is /usr/local/bin/php
.
Run composer install
to install the required Composer packages.
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.
- Selenium demo for using Selenium with PHPUnit
- Coffee example is my starting point for demonstrating TDD
- Tea example for unit tests for extbase extensions for TYPO3 CMS