- PHP 7.4 or higher
- Composer
- Clone or copy the repository to your local machine.
- Install dependencies:
composer install- Run the test suite:
composer test- This will execute all tests in the
tests/directory using PHPUnit and display readable output in TestDox format.
- Source code:
src/ - Tests:
tests/ - Configuration:
- Composer:
composer.json - PHPUnit:
phpunit.xml
- Composer:
- Place new test files in the appropriate subfolder under
tests/. - Run all tests with:
composer test- If you need to run PHPUnit directly, use:
vendor\bin\phpunit tests --testdox- For code coverage, you can use:
vendor\bin\phpunit --coverage-html coverage(Requires Xdebug or PCOV extension)
This file is for internal use and documents the setup and test process for developers working on this project.