mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:16:13 +01:00
Mirror of TYPO3 Extension tea, managed by the Best Practice Team https://typo3.org/community/teams/best-practices
Find a file
2017-04-24 17:43:59 +02:00
Classes [CLEANUP] Code autoformat 2016-05-08 14:28:38 +02:00
Configuration [TASK] Migrate the TCA to TYPO3 CMS 7.6 2016-07-18 17:10:52 +02:00
Resources [CLEANUP] Clean up the configuration files 2016-05-13 14:03:32 +02:00
Tests [TASK] Make the extension compatible with TYPO3 CMS 7.6 2016-07-16 21:39:04 +02:00
.gitignore [TASK] Add documentation directories to the .gitignore. 2013-11-01 19:55:30 +01: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 [CLEANUP] Use the short array syntax 2016-05-07 21:56:27 +02:00
ext_tables.php [CLEANUP] Use the short array syntax 2016-05-07 21:56:27 +02:00
ext_tables.sql [FEATURE] Add examples for using the Testing Framework 2015-10-26 22:59:12 +01:00
LICENSE Initial commit 2013-11-01 11:45:05 -07:00
README.md [TASK] Link to the TDD Seed project 2017-04-10 20:05: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.

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)