On the recordRead 7 Oct 202623 facts
Eris
On the record
- Compatibility
- The repository lists support for PHP 8.1 through 8.4 and PHPUnit 10.x through 13.x.github.com · read 7 Oct 2026
- Configurable runtime
- The number of generated iterations and a test duration can be configured, though the duration is approximate because a running iteration and any shrinking must finish.eris.readthedocs.io · read 7 Oct 2026
- Default sample size
- By default, Eris runs 100 generated values for each forAll() call.eris.readthedocs.io · read 7 Oct 2026
- Failure shrinking
- When an assertion fails, Eris attempts to simplify the generated input and reports the simplest failing value it finds.eris.readthedocs.io · read 7 Oct 2026
- Generated testing
- It generates samples of inputs and runs them against properties defined for the system under test.eris.readthedocs.io · read 7 Oct 2026
- Generators
- Its documented generators cover scalar values, collections, composite values, and domain-based values such as names and dates.eris.readthedocs.io · read 7 Oct 2026
- Input generators
- Documented generators cover scalar values, collections, composite values, and domain data such as names, dates, and regex-matching strings.eris.readthedocs.io · read 7 Oct 2026
- Installation
- The README gives Composer as the installation method and shows the command composer require --dev giorgiosironi/eris.github.com · read 7 Oct 2026
- License
- The repository identifies the project as MIT licensed.github.com · read 7 Oct 2026
- Listeners
- Listeners can receive events during test runs, and documented examples collect generated-value frequencies or write progress logs.eris.readthedocs.io · read 7 Oct 2026
- Maintainer
- The project documentation credits Giorgio Sironi.eris.readthedocs.io · read 7 Oct 2026
- Maker
- The repository is under Giorgio Sironi’s GitHub account, whose profile lists Cambridge, UK.github.com · read 7 Oct 2026
- Notable limit
- The documentation says a configured time limit is approximate because the current iteration and any resulting shrinking must finish before the test stops.eris.readthedocs.io · read 7 Oct 2026
- Outside PHPUnit
- Eris can also be used as a library to generate reproducible random data in other testing frameworks or scripts.eris.readthedocs.io · read 7 Oct 2026
- PHPUnit integration
- Eris can be installed as a Composer development dependency and its examples can be run with PHPUnit.eris.readthedocs.io · read 7 Oct 2026
- Purpose
- Eris brings QuickCheck-style property-based testing to PHP and PHPUnit.github.com · read 7 Oct 2026
- Reproducibility
- When Eris is used outside PHPUnit, the documentation says reproducibility can be obtained by setting the ERIS_SEED environment variable.eris.readthedocs.io · read 7 Oct 2026
- Runtime controls
- A forAll call generates 100 values by default, and users can configure iteration counts or a test duration.eris.readthedocs.io · read 7 Oct 2026