iomywiab / testing
Testing library - FOR DEVELOPMENT ONLY
v1.3.1-stable
2025-07-26 12:37 UTC
Requires
- php: >=8.1, <=8.5
- psr/log: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: *
- nunomaduro/collision: *
- pdepend/pdepend: *
- phpcompatibility/php-compatibility: *
- phpmd/phpmd: *
- phpmetrics/phpmetrics: *
- phpstan/extension-installer: *
- phpstan/phpstan: *
- phpstan/phpstan-deprecation-rules: *
- phpstan/phpstan-phpunit: *
- phpstan/phpstan-strict-rules: *
- phpstan/phpstan-symfony: *
- phpunit/phpunit: *
- psalm/plugin-phpunit: *
- roave/security-advisories: dev-latest@dev
- sebastian/phpcpd: *
- shipmonk/composer-dependency-analyser: *
- shipmonk/phpstan-baseline-per-identifier: *
- shipmonk/phpstan-rules: *
- voku/phpstan-rules: *
This package is auto-updated.
Last update: 2025-07-26 12:38:59 UTC
README
This library contains some helpers for testing
Quickstart
The main purpose of this library is to provide test values.
- /src/DataTypes contains example Objects/enums
- /src/Formatting contains helpers for formatting values
- /src/Logging contains helpers for quick logging on screen
- /src/Values contains filterable test values
Test values contain edge case values, such as prime numbers, large or tiny floats, strings containing URLs, MAC addresses, IPv6 addresses, and so on.
All these values might be used as input parameters in your tests.
Example
There is an example with 2 files in
- /tests/Example/ExampleClass.php
- /tests/Example/ExampleTest.php