Specification Based Testing with QuickCheck

Specification Based Testing with QuickCheck

John Hughes Chalmers University/Quviq AB

What is QuickCheck?

? A library for writing and testing properties of program code

? Some code:

? A property:

Properties as Code

A Aqumaanctirfoie!r!

A test data geAnseerta!tor!

An ordinary function definition!

A boolean-

valued Aexpprreedsisciaotne!!

DEMO

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download