https://github.com/tfausak/heck
Abstract unit test interface.
https://github.com/tfausak/heck
haskell testing
Last synced: 12 days ago
JSON representation
Abstract unit test interface.
- Host: GitHub
- URL: https://github.com/tfausak/heck
- Owner: tfausak
- License: 0bsd
- Created: 2025-05-22T13:41:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-11T01:46:19.000Z (6 months ago)
- Last Synced: 2026-01-11T07:05:35.565Z (6 months ago)
- Topics: haskell, testing
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/heck
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Heck
Heck is a Haskell library that provides a abstract unit test interface. It can
be used to write tests without depending on any particular test library.
## Example
``` hs
import Heck
spec :: (Applicative m, Monad n) => Test m n -> n ()
spec t = describe t "something" $ do
it t "works" $ do
assertEq t 'b' (max 'a' 'b')
it t "fails" $ do
assertEq t "expected" "actual"
```