Skip to content

Repository files navigation

PHPUnit Testing Tools

A set of utilities to facilitate the creation of unit tests for other libraries in PHPUnit.

Requires a PHP version ^8.1 and a PHPUnit version ^9.5 || ^10

Installation

composer require --dev forlond/phpunit-testing-tools

PhpUnit

Important

If you plan to upgrade to PHPUnit 10 or higher, note that the withConsecutive method has been removed. The WithConsecutive constraint provides a clean alternative to replace it.

How to replace withConsecutive

This package provides some useful PHPUnit constraints. Readme

Integrations

NameSupported VersionsDocumentation
Doctrine/ORM2.xReadme
JMS/Serializer3.xReadme
Psr/Log1.x, 2.x, 3.xReadme
Symfony/Form5.x, 6.xReadme
Symfony/HttpClient5.x, 6.xReadme
Symfony/HttpKernel5.x, 6.xReadme
Symfony/Mailer5.x, 6.xReadme
Symfony/Notifier5.x, 6.xReadme
Symfony/Security5.x, 6.xReadme
Symfony/Translation5.x, 6.xReadme
Symfony/Validator5.x, 6.xReadme
Symfony/Workflow5.x, 6.xReadme

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages