Dependencies
TYPO3 (typo3/cms-core)
Packages
Installation
- Activate the extension via the Extensions module.
- Include the static typo script file.
Installation using composer
Run composer require
How to run the tests
To run tests, quality checks and build, execute the script Build/Scripts/runTests.sh
.
The test runner script options
-s <...>
Specifies which test suite to run
- build: Builds the project (composer)
- lint: Lints the php files
- functional: functional tests
- unit (default): PHP unit tests
- quality: executes code quality checks (phpstan, phpcs, phpmd)
- find-debugs: Finds usages of debug calls.
-p <7.2|7.3>
Specifies the PHP minor version to be used
- 7.2 (default): use PHP 7.2
- 7.3: use PHP 7.3
-e "<phpunit options>"
Only with -s functional|unit
Additional options to send to phpunit (unit & functional tests).
Starting with "--" must be added after options starting with "-".
Example -e "-v --filter canRetrieveValueWithGP" to enable verbose output AND filter tests
named "canRetrieveValueWithGP"
-h
Show this help.