4

Is there a QuickCheck module for Smalltalk, especially for Gnu Smalltalk, Squeak, and/or Pharo?

Wikipedia: QuickCheck

2
  • Are you looking for something similar to what JUnit/NUnit provide with their Theory/Data test runners, together with random generation of test data? Aug 6, 2011 at 9:25
  • 1
    Heh, here I was going to say "if there's a Common Lisp port of QuickCheck, a Smalltalk port would be doable". And then I saw the author name of cl-quickcheck! Aug 6, 2011 at 12:28

2 Answers 2

4

There is now.

2

I wrote an alternative implementation to mcandre's: SqueakCheck.

It adds a TheoryTestCase to SUnit, which permits one to write parameterised test cases. SqueakCheck attempts to automatically determine (based on messages sent to the parameter) what kind of object to give the theory, and a collection of data generators then craft such an object.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.