practicalli / clojure-web-services

Develop production grade server-side web services and APIs using Clojure and REPL driven development
https://practical.li/clojure-web-services
Creative Commons Attribution Share Alike 4.0 International
11 stars 14 forks source link

Testing with plumatic schema #39

Open practicalli-johnny opened 4 years ago

practicalli-johnny commented 4 years ago

Using generative testing to test API's rather than unit tests that tend to include structural tests (is something a map, string, int uuid)

Edit: see if this adapts to clojure.spec and reitit implementations.

https://github.com/plumatic/schema https://github.com/plumatic/schema-generators http://leeorengel.com/clojure-property-based-testing-with-plumatics-schema-and-test-check-chuck/