← All repos

test

Write unit and fuzz tests for Elm code.

Browse cluster: Elm Language & Ecosystem
1,160commits
66contributors
3languages

Tech stack & purpose

elm-test is an Elm package for writing unit and fuzz tests, developed by elm-explorations. The project provides core testing functionality including test organization through descriptions, unit test assertions via the Expect module, and property-based testing through fuzz tests that run with randomly-generated inputs. While this package defines the tests themselves, executing them requires a separate CLI tool such as rtfeldman/node-test-runner or mpizenberg/elm-test-rs. The project includes comprehensive guidance on testing strategies, from preferring fuzz tests where possible to ensuring that exposed functions have adequate test coverage.

Community & reference links

Languages

Elm
99.1%
Shell
0.5%
JavaScript
0.4%

Contributors (top 30 of 66)