| CARVIEW |
Select Language
HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://purescript-spec.github.io/purescript-spec/
x-github-request-id: 30A9:11B54:2CBFD:320EF:696A2CB5
accept-ranges: bytes
age: 0
date: Fri, 16 Jan 2026 12:19:02 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210082-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768565942.791946,VS0,VE224
vary: Accept-Encoding
x-fastly-request-id: 28121e292df170e808a0403a6c397c52bb3f6f26
content-length: 162
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Mon, 23 Sep 2024 15:20:35 GMT
access-control-allow-origin: *
etag: W/"66f18743-2499"
expires: Fri, 16 Jan 2026 12:29:02 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: D480:10F25B:2DB5F:33050:696A2CB5
accept-ranges: bytes
age: 0
date: Fri, 16 Jan 2026 12:19:02 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210082-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768565942.031698,VS0,VE244
vary: Accept-Encoding
x-fastly-request-id: 49e7aa2c3a17508f7db976ff35affb9cabbcf9e3
content-length: 2682
PureScript Spec | PureScript Spec - The Guide Skip to main content
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.