Download the PHP package oliverklee/oelib without Composer
On this page you can find all versions of the php package oliverklee/oelib. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oliverklee/oelib
More information about oliverklee/oelib
Files in oliverklee/oelib
Package oelib
Short Description Useful stuff for TYPO3 extension development: helper functions for unit testing, templating and automatic configuration checks.
License GPL-2.0-or-later
Homepage https://www.oliverklee.de/typo3-services/typo3-extensions/
Informations about the package oelib
"One Is Enough" library TYPO3 extension
This extension provides useful stuff for extension development: helper functions for unit testing, templating and automatic configuration checks.
Most of the documentation is in ReST format in the Documentation/ folder and is rendered as part of the TYPO3 documentation.
Running the tests locally
You will need to have a Git clone of the extension for this with the Composer dependencies installed.
Running the unit tests
On the command line
To run all unit tests on the command line:
To run all unit tests in a directory or file (using the directory
Tests/Unit/Model/
as an example):
In PhpStorm
First, you need to configure the path to PHPUnit in the settings:
Languages & Frameworks > PHP > Test Frameworks
In this section, configure PhpStorm to use the Composer autoload and the script path .Build/vendor/autoload.php
within
your project.
In the Run/Debug configurations for PHPUnit, use an alternative configuration file:
.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml
Running the functional tests
You will need a local MySQL user that has the permissions to create new databases.
In the examples, the following credentials are used:
- user name:
typo3
- password:
typo3pass
- DB name prefix:
typo3_test
(optional) - DB host:
localhost
(omitted as this is the default)
You will need to provide those credentials as environment variables when running the functional tests:
typo3DatabaseUsername
typo3DatabasePassword
typo3DatabaseName
On the command line
To run all functional tests on the command line:
To run all functional tests in a directory or file (using the directory
Tests/Functional/Authentication/
as an example):
In PhpStorm
First, you need to configure the path to PHPUnit in the settings:
Languages & Frameworks > PHP > Test Frameworks
In this section, configure PhpStorm to use the Composer autoload and the script path .Build/vendor/autoload.php
within
your project.
In the Run/Debug configurations for PHPUnit, use an alternative configuration file:
.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml
Also set the following environment variables in your runner configuration:
typo3DatabaseUsername
typo3DatabasePassword
typo3DatabaseName
All versions of oelib with dependencies
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-zip Version *
doctrine/dbal Version ^2.13.8 || ^3.9
psr/log Version ^1.0 || ^2.0 || ^3.0
symfony/polyfill-php80 Version ^1.31.0
typo3/cms-core Version ^11.5.37 || ^12.4.15
typo3/cms-extbase Version ^11.5.37 || ^12.4.15
typo3/cms-fluid Version ^11.5.37 || ^12.4.15
typo3/cms-frontend Version ^11.5.37 || ^12.4.15
typo3fluid/fluid Version ^2.7.4