This project contains code to be used in my TDD workshops.
You will need a local PHP installation with Composer.
If you would like to use Infection for mutation testing, you will also need Xdebug.
Run composer install
to install the required Composer packages.
For your test list, please create a fill test-list.txt
.
Git will ignore it for you.
You can run the mutation testing with Infection to catch missing test cases:
vendor/bin/infection
Infection then will log its findings into the file infection.log
.
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