Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/47degrees/scalacheck-toolbox
A helping hand for generating sensible data with ScalaCheck
https://github.com/47degrees/scalacheck-toolbox
date-time functional-programming jdk8 joda scala scalacheck
Last synced: 7 days ago
JSON representation
A helping hand for generating sensible data with ScalaCheck
- Host: GitHub
- URL: https://github.com/47degrees/scalacheck-toolbox
- Owner: 47degrees
- License: apache-2.0
- Created: 2016-07-04T09:03:50.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T05:22:20.000Z (5 months ago)
- Last Synced: 2024-08-21T06:32:59.974Z (5 months ago)
- Topics: date-time, functional-programming, jdk8, joda, scala, scalacheck
- Language: Scala
- Homepage: https://47degrees.github.io/scalacheck-toolbox/
- Size: 3.6 MB
- Stars: 119
- Watchers: 49
- Forks: 7
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Authors: AUTHORS.md
Awesome Lists containing this project
README
[![codecov.io](http://codecov.io/gh/47degrees/scalacheck-toolbox/branch/master/graph/badge.svg)](http://codecov.io/gh/47degrees/scalacheck-toolbox) [![Maven Central](https://img.shields.io/badge/maven%20central-0.3.3-green.svg)](https://oss.sonatype.org/#nexus-search;gav~com.47deg~scalacheck-toolbox*) [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/47degrees/scalacheck-toolbox/master/LICENSE) [![Latest version](https://img.shields.io/badge/scalacheck--toolbox-0.3.3-green.svg)](https://index.scala-lang.org/47degrees/scalacheck-toolbox) [![GitHub Issues](https://img.shields.io/github/issues/47degrees/scalacheck-toolbox.svg)](https://github.com/47degrees/scalacheck-toolbox/issues)
scalacheck-toolbox
====# Installation
Add the following lines to your `build.sbt` file:
```scala
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`](https://47degrees.github.io/scalacheck-toolbox/docs/datetime/): Limit the test data to a certain range of times, and constrain generation to a certain level of precision.
* [`magic`](https://47degrees.github.io/scalacheck-toolbox/docs/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`](https://47degrees.github.io/scalacheck-toolbox/docs/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](https://47degrees.github.io/scalacheck-toolbox/docs) 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.