typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

8.0.9 2024-01-31 12:14 UTC

README

tests

TYPO3 testing framework for core and extensions

A straight and slim set of classes and configuration to test TYPO3 extensions. This framework is used by the core, too and maintained by the core team as a base to execute unit, functional and acceptance tests within the TYPO3 extension ecosystem.

Installation

This framework works on top of a composer based installation.

$ composer require --dev typo3/testing-framework

Documentation

Usage examples within core and for extensions can be found in TYPO3 explained.

Tags and branches

  • Branch main is used by core v12 and tagged as 8.x.x. Extensions can use this to run tests with core v12 and prepare for v13 compatibility. Supports PHP 8.1 to 8.2.
  • Branch 7 is used by core v11 and tagged as 7.x.x. Extensions can use this to run tests with core v11 and prepare for v12 compatibility. Supports PHP 7.4 to 8.2.
  • Branch 6 is used by core v10 and tagged as 6.x.x. Extensions can use this to run tests with core v10 and v11. Supports PHP 7.2 to 8.2
  • Branch 4 is for core v9 and tagged as 4.x.y
  • Branch 1 is for core v8 and tagged as 1.x.y