Download the PHP package kigaroo/snapshot-testing without Composer
On this page you can find all versions of the php package kigaroo/snapshot-testing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kigaroo/snapshot-testing
More information about kigaroo/snapshot-testing
Files in kigaroo/snapshot-testing
Download kigaroo/snapshot-testing
More information about kigaroo/snapshot-testing
Files in kigaroo/snapshot-testing
Vendor kigaroo
Package snapshot-testing
Short Description Provides PHPUnit assertions for snapshot testing
License MIT
Package snapshot-testing
Short Description Provides PHPUnit assertions for snapshot testing
License MIT
Please rate this library. Is it a good library?
Informations about the package snapshot-testing
Snapshot Testing
Provides PHPUnit assertions for snapshot testing
Installation
Basic Usage
Using Wildcards
If you have content in your data which changes intentionally you can use wildcards:
This ignores the concrete uuid given for the field "id" and only checks that a valid uuid is provided.
The library currently supports the following wildcards:
- BooleanWildcard
- IntegerWildcard
- UuidWildcard
- UuidOrNullWildcard
- DateTimeWildcard
- DateTimeOrNullWildcard
- StringWildcard
- ObjectOrNullWildcard
Usage in CI
When running your tests in Continuous Integration you would possibly want to disable the creation of snapshots.
By using the --without-creating-snapshots parameter, PHPUnit will fail if the snapshots don't exist.
All versions of snapshot-testing with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-dom Version *
ext-json Version *
ext-mbstring Version *
ext-simplexml Version *
symfony/filesystem Version ~2.8|~3.0|~4.0|~5.0
symfony/property-access Version ~2.8|~3.0|~4.0|~5.0
webmozart/assert Version ~1.2
ext-dom Version *
ext-json Version *
ext-mbstring Version *
ext-simplexml Version *
symfony/filesystem Version ~2.8|~3.0|~4.0|~5.0
symfony/property-access Version ~2.8|~3.0|~4.0|~5.0
webmozart/assert Version ~1.2
The package kigaroo/snapshot-testing contains the following files
Loading the files please wait ....