| 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: 62B2:9F9F0:79E79:89593:696A8057
accept-ranges: bytes
age: 0
date: Fri, 16 Jan 2026 18:15:52 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210051-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768587352.399885,VS0,VE214
vary: Accept-Encoding
x-fastly-request-id: b12273a5f34d9aa8de892c504ba73be07e3e57ba
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 18:25:52 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 97F8:32D844:7AEA6:8A546:696A8058
accept-ranges: bytes
age: 0
date: Fri, 16 Jan 2026 18:15:52 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210051-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768587353.627799,VS0,VE229
vary: Accept-Encoding
x-fastly-request-id: 271c16ae940ef61a5ca5c114940b8c1fe3ab479c
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.