Download the PHP package villfa/phpunit-extra-constraints without Composer
On this page you can find all versions of the php package villfa/phpunit-extra-constraints. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download villfa/phpunit-extra-constraints
More information about villfa/phpunit-extra-constraints
Files in villfa/phpunit-extra-constraints
Download villfa/phpunit-extra-constraints
More information about villfa/phpunit-extra-constraints
Files in villfa/phpunit-extra-constraints
Vendor villfa
Package phpunit-extra-constraints
Short Description Extra constraints for PHPUnit
License MIT
Package phpunit-extra-constraints
Short Description Extra constraints for PHPUnit
License MIT
Please rate this library. Is it a good library?
Informations about the package phpunit-extra-constraints
PHPUnit Extra Constraints
Installation
Usage
Here a basic example:
Available extra constraints
- IsDate: asserts that a string is a valid date according a given format
- IsEmail: asserts that a string contains only an email address
- IsJSON: asserts that the value is a decodable JSON string
- IsList: asserts that the value is a sequential list
- IsURL: asserts that a string contains only an URL
- StringEndsWith: asserts that a string ends with another string
- StringStartsWith: asserts that a string starts with another string
Tests
To validate and test the library:
License
MIT
Other libraries proposing extra constraints
- https://github.com/etsy/phpunit-extensions
- https://github.com/ergebnis/phpunit-framework-constraint
- https://github.com/Datamedrix/phpunit-ext
- https://github.com/spawnia/phpunit-assert-directory
- https://github.com/MarcinOrlowski/phpunit-extra-asserts
- https://github.com/kuria/phpunit-extras
- https://github.com/martin-helmich/phpunit-json-assert
- https://github.com/GeckoPackages/GeckoPHPUnit (Abandoned)
All versions of phpunit-extra-constraints with dependencies
PHP Build Version
Package Version
The package villfa/phpunit-extra-constraints contains the following files
Loading the files please wait ....