Skip to content

invetica/ring-spec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ring-Spec

A library for Ring that contains specs for requests, responses and handlers.

Installation

Add the following dependency to your project file:

[ring/ring-spec "0.0.2"]

Usage

This library exposes the following specs:

  • :ring/request
  • :ring/response
  • :ring/handler

These can be used to validate requests, responses and handler functions respectively.

The request and response specs also have generators associated with them, allowing valid Ring requests and responses to be generated for use with test.check.

License

Copyright © 2016 James Reeves

Distributed under the MIT License, the same as Ring.

About

Clojure specs for Ring

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 100.0%