A set of testing helpers, add-ons and gimmicks to make The Events Calendar product testing easier.
The library requires PHP 7.4 or above. While most of our code is compatible with PHP 5.6 or above the test code will run on PHP 7.0 or above CI environments.
Use Composer to require the library in your project.
Since this package is not on Packagist you'll need to define the package in your project composer.json file by adding an entry in the repositories section:
"repositories": [
{
"name": "the-events-calendar/tec-testing-facilities",
"type": "github",
"url": "https://github.com/the-events-calendar/tec-testing-facilities",
"no-api": true
}
],You'll now be able to pull in the library with the following command:
composer require --dev the-events-calendar/tec-testing-facilities:dev-masterRead more in the documentation.