# Blog articles/Testing

### From HaskellWiki

< Blog articles(Difference between revisions)

(Added a link to "Code testing in Haskell"; updated the link for "QuickChecking a window manager") |
SimonHengel (Talk | contribs) (→Other) |
||

(2 intermediate revisions by one user not shown) | |||

Line 35: | Line 35: | ||

=== Other === | === Other === | ||

+ | * [https://github.com/kazu-yamamoto/unit-test-example/blob/master/markdown/en/tutorial.md Up-front Unit Testing in Haskell] - an article about unit testing in Haskell using [https://github.com/sol/doctest-haskell#readme Doctest], [http://hspec.github.io/ Hspec] and [http://www.haskell.org/cabal/ Cabal] | ||

* [http://ics.p.lodz.pl/~stolarek/blog/2012/10/code-testing-in-haskell/ Code testing in Haskell] | * [http://ics.p.lodz.pl/~stolarek/blog/2012/10/code-testing-in-haskell/ Code testing in Haskell] | ||

− | |||

== Proofs == | == Proofs == | ||

Line 68: | Line 68: | ||

* [http://haskell.org/haskellwiki/Research_papers/Testing_and_correctness Research papers on testing, proofs and correctness] | * [http://haskell.org/haskellwiki/Research_papers/Testing_and_correctness Research papers on testing, proofs and correctness] | ||

+ | |||

+ | |||

+ | [[Category:Tutorials]] |

## Latest revision as of 18:49, 20 May 2013

## Contents |

## [edit] 1 Type system enforcement

## [edit] 2 Testing, correctness and proofs

### [edit] 2.1 QuickCheck

- Introduction to QuickCheck
- QuickChecking a window manager
- Robustness and QuickCheck
- Parsec Parser Testing with QuickCheck
- QuickCheck : Why Testing code should be Laissez-faire
- Calculating the reflect-rotate-translate normal form for an isometry of the plane in Haskell, and verifying it with QuickCheck.
- "Testing Haskell with QuickCheck"

### [edit] 2.2 HUnit

- HUnit 1.0 User's Guide
- On Unit Testing and Type Safety
- Getting started with HUnit
- Unit testing with HUnit

### [edit] 2.3 Catch

- Does XMonad crash? On proving pattern coverage with Catch
- Preconditions on XMonad
- Equational Reasoning in Haskell

### [edit] 2.4 Other

- Up-front Unit Testing in Haskell - an article about unit testing in Haskell using Doctest, Hspec and Cabal
- Code testing in Haskell

## [edit] 3 Proofs

### [edit] 3.1 GADTs

### [edit] 3.2 Coq

- Strong specifications in Coq: the type says everything
- Proving the monad laws in Coq
- Strongly Specified Functions

### [edit] 3.3 Isabelle

### [edit] 3.4 Related work

- See the section on theorem provers