Skip to content
SPECIFICTION
Get listed

Eris vs PropCheck

Eris

github.com

PropCheck

github.com

Side by side

FigureErisPropCheck
Price from—Free
Free plan—Yes
Free trial——
Open source——
Linux—Yes
Self-hostedYesYes
Plans published01
Spec score · Property-Based Testing Tools7.6 (#12)8.0 (#7)
GeneratorsIts documented generators cover scalar values, collections, composite values, and domain-based values such as names and dates.It includes generators for common Ruby data types and a DSL for defining custom generators.
InstallationThe README gives Composer as the installation method and shows the command composer require --dev giorgiosironi/eris.The README says to add `gem 'prop_check'` to a Gemfile or install it with `gem install prop_check`.
LicenseThe repository identifies the project as MIT licensed.The project is released under the MIT License.
PurposeEris brings QuickCheck-style property-based testing to PHP and PHPUnit.PropCheck is a Ruby library for property-based testing that checks assertions against generated inputs.

Plans

Eris

No plans published.

Eris pricing →

PropCheck

  • Community libraryFree

PropCheck pricing →

In their own words

Eris

Eris has no write-up on Specifiction yet; its figures are above.

Visit github.com

PropCheck

PropCheck is a Ruby library for property-based testing: it generates inputs and checks whether assertions hold across them. When a generated example fails, it tries to simplify that case into a smaller counterexample. Built-in generators cover integers, floats, strings, symbols, arrays, hashes, sets, dates, times and datetimes. A generator DSL lets developers define their own, while the API also supports mapping and binding values, alternatives and weighted frequency choices.

Before, after and around hooks provide setup and cleanup around generated examples. The README gives usage examples for RSpec, MiniTest, test-unit and vanilla Ruby, and says the library has no external dependencies. PropCheck requires Ruby 2.5.1 or later and is released under the MIT License. It is available as a free Community library. Installation can be done through a Gemfile or with `gem install prop_check`. For generated examples involving a database, the README recommends cleaning database state around each example and mentions DatabaseCleaner. Stateful property testing is described as a possible future separate add-on.

Visit github.com