QuickCheck
Software testing software From Wikipedia, the free encyclopedia
QuickCheck is a software library, a combinator library, originally written in the programming language Haskell, designed to assist in software testing by generating test cases for test suites – an approach known as property testing.
Developer(s) | Koen Claessen, John Hughes |
---|---|
Initial release | 1999 |
Stable release | 2.14.2
/ 14 November 2020 |
Repository | github |
Written in | Haskell |
Operating system | Unix-like, Windows |
Available in | English |
Type | Software testing |
License | BSD-style |
Website | www |
Software
Summarize
Perspective
It is compatible with the compiler, Glasgow Haskell Compiler (GHC) and the interpreter, Haskell User's Gofer System (Hugs). It is free and open-source software released under a BSD-style license.
In QuickCheck, assertions are written about logical properties that a function should fulfill. Then QuickCheck attempts to generate a test case that falsifies such assertions. Once such a test case is found, QuickCheck tries to reduce it to a minimal failing subset by removing or simplifying input data that are unneeded to make the test fail.
The project began in 1999. Besides being used to test regular programs, QuickCheck is also useful for building up a functional specification, for documenting what functions should be doing, and for testing compiler implementations.[1]
Re-implementations of QuickCheck exist for many languages:
- C[2][3][4]
- C++[5][6][7]
- Chicken[8]
- Clojure[9][10]
- Common Lisp[11]
- Coq[12]
- D[13]
- Elm[14]
- Elixir[15][16]
- Erlang[17]
- F#, and C#, Visual Basic (.NET) (VB.NET)[18]
- Factor[19]
- Go[20]
- Io[21]
- Java[22][23][24][25][26][27][28]
- JavaScript[29][30][31][32]
- Julia[33]
- Logtalk[34]
- Lua[35]
- Mathematica[36]
- Objective-C[37]
- OCaml[38]
- Perl[39]
- Prolog[40][41]
- PHP[42]
- Pony[43]
- Python[44]
- R[45]
- Racket[46]
- Ruby[47]
- Rust[48][49]
- Scala[50][51][52]
- Scheme[53][54]
- Smalltalk[55]
- Standard ML[56]
- Swift[57]
- TypeScript[58]
- Whiley[59]
See also
References
Further reading
External links
Wikiwand - on
Seamless Wikipedia browsing. On steroids.