I have now released ScalaCheck 1.9, built with the brand new Scala
2.9.0!
RELEASE NOTES:
ScalaCheck is a powerful tool for automatic unit testing of Scala and
Java
programs. It features automatic test case generation and simplification
of
failing test cases. ScalaCheck started out as a Scala port of the
Haskell
library QuickCheck, and has since evolved and been extended with
features not
found in Haskell QuickCheck.
The main features of ScalaCheck is:
* Specifications are written directly in Scala, using combinators
from the ScalaCheck library.
* Properties are tested automatically, with test data generated by
ScalaCheck. Data generation can be precisely controlled, and
generation
of custom data types is simple to define.
* Failing test cases are simplified automatically, which makes
pin-pointing
error causes easier.
* Support for stateful testing of command sequences, and
simplification of
failing command sequences.
ScalaCheck 1.9 introduces a number of bug fixes and a couple of new
functions.
Some serious bugs were fixed in the Commands module. Also, some changes
has
been done to support Scala 2.9 properly.
ScalaCheck links:
* Project site
http://www.scalacheck.org
* User Guide
http://code.google.com/p/scalacheck/wiki/UserGuide
* API documentation
http://scalacheck.googlecode.com/svn/artifacts/1.9/doc/api/index.html
* Mailing list
scala...@googlegroups.com
See http://groups.google.com/group/scalacheck for information and
registration.
* Installation with sbaz
sbaz update
sbaz install scalacheck
If you already have an earlier version of ScalaCheck installed, you
just need to run:
sbaz upgrade
* Binary JAR
http://scalacheck.googlecode.com/files/scalacheck_2.9.0-1.9.jar
* Source JAR
http://scalacheck.googlecode.com/files/scalacheck_2.9.0-1.9-sources.jar
* Source repository
http://scalacheck.googlecode.com/svn/
* Maven repository at scala-tools.org
Add this to your pom.xml:
<repositories>
<repository>
<id>scala-tools.org</id>
<name>Scala-Tools Maven2 Repository</name>
<url>http://scala-tools.org/repo-releases</url>
</repository>
</repositories>
<dependency>
<groupId>org.scala-tools.testing</groupId>
<artifactId>scalacheck_2.9.0</artifactId>
<version>1.9</version>
</dependency>