magic

ScalaCheck Generators for magic values

License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.fortysevendeg
ArtifactId

ArtifactId

scalacheck-toolbox-magic_2.10
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

magic
ScalaCheck Generators for magic values
Project URL

Project URL

https://47deg.github.io/scalacheck-toolbox/
Project Organization

Project Organization

47 Degrees
Source Code Management

Source Code Management

https://github.com/47deg/scalacheck-toolbox

Download scalacheck-toolbox-magic_2.10

How to add to project

<!-- https://jarcasting.com/artifacts/com.fortysevendeg/scalacheck-toolbox-magic_2.10/ -->
<dependency>
    <groupId>com.fortysevendeg</groupId>
    <artifactId>scalacheck-toolbox-magic_2.10</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.fortysevendeg/scalacheck-toolbox-magic_2.10/
implementation 'com.fortysevendeg:scalacheck-toolbox-magic_2.10:0.2.1'
// https://jarcasting.com/artifacts/com.fortysevendeg/scalacheck-toolbox-magic_2.10/
implementation ("com.fortysevendeg:scalacheck-toolbox-magic_2.10:0.2.1")
'com.fortysevendeg:scalacheck-toolbox-magic_2.10:jar:0.2.1'
<dependency org="com.fortysevendeg" name="scalacheck-toolbox-magic_2.10" rev="0.2.1">
  <artifact name="scalacheck-toolbox-magic_2.10" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.fortysevendeg', module='scalacheck-toolbox-magic_2.10', version='0.2.1')
)
libraryDependencies += "com.fortysevendeg" % "scalacheck-toolbox-magic_2.10" % "0.2.1"
[com.fortysevendeg/scalacheck-toolbox-magic_2.10 "0.2.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.6
org.scalacheck : scalacheck_2.10 jar 1.13.4
joda-time : joda-time jar 2.9.4

Project Modules

There are no modules declared in this project.

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

com.fortysevendeg

47 Degrees

47 Degrees is a global consulting firm and open source advocate specializing in Scala, Kotlin, Swift.

Versions

Version
0.2.1