https://github.com/quchen/qa-playground
Full QA example in Haskell: Various testsuites, test coverage, benchmarks.
https://github.com/quchen/qa-playground
Last synced: 21 days ago
JSON representation
Full QA example in Haskell: Various testsuites, test coverage, benchmarks.
- Host: GitHub
- URL: https://github.com/quchen/qa-playground
- Owner: quchen
- License: bsd-3-clause
- Created: 2016-03-01T18:04:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-15T19:05:32.000Z (over 10 years ago)
- Last Synced: 2025-08-18T19:36:00.347Z (11 months ago)
- Language: Haskell
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
QA playground
=============
This example project demonstrates basic usages of many important QA tools
available in the Haskell ecosystem.
- [x] Test framework [**Tasty**][tasty]
- [x] Probabilistic batch testing with [**QuickCheck**][qc]
- [x] Deterministic batch testing with [**Smallcheck**][sc]
- [x] Example test case testing with [**HUnit**][hu]
- [x] Deliberately failing tests to show reporting
- [x] Doctests with [**Doctest**][doctest]
- [x] Generating coverage reports with [**HPC**][hpc]
- [x] Benchmarking with [**Criterion**][crit]
- [ ] Documentation with [**Haddock**][haddock]
Execute it with
```bash
stack build --test --coverage --benchmark
```
[crit]: http://hackage.haskell.org/package/criterion
[doctest]: http://hackage.haskell.org/package/doctest
[haddock]: https://www.haskell.org/haddock/
[hpc]: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/hpc.html
[hu]: http://hackage.haskell.org/package/HUnit
[qc]: http://hackage.haskell.org/package/QuickCheck
[sc]: http://hackage.haskell.org/package/smallcheck
[tasty]: http://hackage.haskell.org/package/tasty