codecov.io Maven Central License Latest version GitHub Issues

scalacheck-toolbox

Installation

Add the following lines to your build.sbt file:

libraryDependencies += "com.47deg" %% "scalacheck-toolbox-datetime"    % "0.3.5" % Test
libraryDependencies += "com.47deg" %% "scalacheck-toolbox-magic"       % "0.3.5" % Test
libraryDependencies += "com.47deg" %% "scalacheck-toolbox-combinators" % "0.3.5" % Test

A helping hand for generating sensible data with ScalaCheck

The ScalaCheck Toolbox is intended to be a set of libraries that can help rein in the power of ScalaCheck in a sensible way, while not impeding your tests. There are three libraries to help you:

  • datetime: Limit the test data to a certain range of times, and constrain generation to a certain level of precision.
  • magic: Enhance the provided generators with some values that are often used to signal danger, or perhaps something more sinister, such as the Strings "null", "False" or "Robert'); DROP TABLE Students;--".
  • combinators: Provide some useful combinators of generators, such as the pairing of a map and a list of values that are present in the map.

View the documentation for more tips on how to get the best from these tools.

scalacheck-toolbox in the wild not found

If you wish to add your library here please consider a PR to include it in the list below.

Copyright

scalacheck-toolbox is designed and developed by 47 Degrees

Copyright (C) 2016-2020 47 Degrees. http://47deg.com

Scalacheck Toolbox

A helping hand for generating sensible data with ScalaCheck

Scalacheck Toolbox Info

⭐ Stars 104
🔗 Homepage 47degrees.github.io
🔗 Source Code github.com
🕒 Last Update a year ago
🕒 Created 5 years ago
🐞 Open Issues 9
➗ Star-Issue Ratio 12
😎 Author 47degrees