Not currently logged in. Login now.

Library

Name:Shrink
Category:Testing
Subcategory:Unit Testing
Description:
An implementation of shrinking, for use in finding the simplest possible failure case in generative test failures. Based off of Haskell's QuickCheck, and Scala's ScalaCheck

Say you have found a test case that fails for the inputted value of 4. The shrink function will return a sequence of integers, [0 2 -2 3 -3], that you can try as inputs to that failing test case. The aim being to identify the smallest possible failure case, which you will then report to the user.
Maven Group and Artifact Id:[shrink/shrink "version"]
Date Added:2012-03-01 21:28:46
Date Changed:2012-03-01 21:28:46