Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.04 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.04 KB

QuickCheck2

An automated testing package based on the Julia implementation of Koen Claessen and John Hughes' QuickCheck property-based randomized tester, with additional syntactic sugar and convenient generators.

Documentation

Documentation of QuickCheck can be found on Read The Docs.

This README provides documentation of the additional features in QuickCheck2.

New Macros

This version provides new macros @test_exists, @test_formany, @test_forall. They take expressions of specific forms, parse them, automatically define corresponding generators for argument variables, and run tests. Optional argument can be given to specify number of tests. Output has type Base.Test.Pass, Base.Test.Fail or Base.Test.Error and is adapted to work with @testset macro from Base.Test. Test logging is available.

See inlined documentation and examples/examples.jl for more detailed information.