mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 18:46:11 +01:00
Mirror of TYPO3 Extension tea, managed by the Best Practice Team https://typo3.org/community/teams/best-practices
Find a file
2017-12-09 18:05:05 +01:00
Classes [FEATURE] Testimonial showAction 2017-12-09 18:05:05 +01:00
Configuration [BUGFIX] Fix datetime TCA type 2017-12-09 17:59:26 +01:00
Resources [FEATURE] Testimonial showAction 2017-12-09 18:05:05 +01:00
Tests [CLEANUP] Use a dedicated inject method 2017-12-09 17:41:35 +01:00
.gitignore [FEATURE] Allow stand-alone tests 2017-05-05 18:00:40 +02:00
composer.json [TASK] Switch the functional tests to nimut/testing-framework 2017-09-08 16:09:51 +02:00
ext_emconf.php [TASK] Require TYPO3 >= 7.6 2017-04-24 17:43:59 +02:00
ext_icon.gif [FEATURE] Add the basic extension data. 2013-11-01 19:53:00 +01:00
ext_localconf.php [FEATURE] Testimonial showAction 2017-12-09 18:05:05 +01:00
ext_tables.php [CLEANUP] Use the new TCA format 2017-12-09 17:55:12 +01:00
ext_tables.sql [TASK] Switch the functional tests to nimut/testing-framework 2017-09-08 16:09:51 +02:00
LICENSE Initial commit 2013-11-01 11:45:05 -07:00
README.md [FEATURE] Allow stand-alone tests 2017-05-05 18:00:40 +02:00

Tea example

Flattr this git repo

This TYPO3 extension is an example for writing unit tests for extbase extensions for TYPO3 CMS using PHPUnit.

The functional tests for the Repositories provide an example of creating records both using the PHPUnit extension testing framework and DBUnit.

The functional test for the Utility/FileUtility class provides examples for working with vfsStream.

For information on the different ways to execute the tests, please have a look at the handout to my workshops on test-driven development (TDD).

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

  • Selenium demo for using Selenium with PHPUnit
  • Anagram finder is the finished result of a code kata for TDD
  • Coffee example is my starting point for demonstrating TDD with TYPO3 CMS
  • TDD Seed for starting PHPUnit projects with Composer (without TYPO3 CMS)