Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 2.4 KB

README.md

File metadata and controls

35 lines (21 loc) · 2.4 KB

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.7.0" % Test
libraryDependencies += "com.47deg" %% "scalacheck-toolbox-magic"       % "0.7.0" % Test
libraryDependencies += "com.47deg" %% "scalacheck-toolbox-combinators" % "0.7.0" % 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