PureScript Spec - The Guide
PureScript Spec is a simple testing framework for Purescript, inspired by hspec. Use PureScript Spec to write synchronous and asynchronous tests using a simple DSL, combine with other testing tools, and generate test output in various formats.
Installation
Given that you already have a PureScript project setup, the first thing to do is installing purescript-spec
as a dependency.
spago install spec
purescript-spec on Pursuit features version information and API documentation.
The source code is available on GitHub.
Getting Started
- For how to write test code, see writing specs
- For how to run the code you wrote, see running specs
Contribute
If you have any issues or possible improvements please file them as GitHub Issues. Pull requests are encouraged.