Skip to content

Instantly share code, notes, and snippets.

@amitsaha
Forked from npryce/property-based-testing-tools.md
Last active December 27, 2019 13:45
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitsaha/8a8c5e3540f81dd22c80 to your computer and use it in GitHub Desktop.
Save amitsaha/8a8c5e3540f81dd22c80 to your computer and use it in GitHub Desktop.
Property-Based Testing Tools

If you're coming to the Property-Based TDD As If You Meant It Workshop, you will need to bring a laptop with your favourite programming environment, a property-based testing library and, depending on the language, a test framework to run the property-based-tests.

Any other languages or suggestions? Comment below.

.NET (C#, F#, VB)

Python:

  • Factcheck -- requires a test framework (I like pytest), I wrote it (benefits - you can ask me about it, drawbacks - it's not very mature). Can be installed from PyPI with Pip or easy_install.
  • Hypothesis -- requires a test framework, provides decorators for easy integration
  • pytest-quickcheck - requires pytest, I found it hard to extend, and so wrote Factcheck

Ruby:

Scala:

Clojure:

Haskell:

Java:

PHP:

Groovy:

  • Gruesome -- a quick and dirty implementation for Groovy

JavaScript:

Golang:

@dubzzz
Copy link

dubzzz commented Jul 19, 2018

You might be interested into adding:

@HenkPoley
Copy link

There is another tool for PHP: https://github.com/giorgiosironi/eris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment