← All repos

hspec-wai

Helpers to test WAI applications with Hspec

Browse cluster: Haskell tooling and libraries
168commits
14contributors
1languages

Tech stack & purpose

hspec-wai is a testing library that provides helpers for testing WAI (Web Application Interface) applications using Hspec, a Haskell testing framework. Built in Haskell, it enables developers to write test specifications for web applications by offering utilities like `shouldRespondWith` to assert HTTP responses, status codes, response bodies, and headers. The library integrates with WAI-based web frameworks such as Scotty and supports testing JSON responses through QuasiQuotes.

Languages

Haskell
100.0%

Contributors