Any clojure.spec fans on here who would be up for giving my PR a quick review ☺️?

I'm trying to get my head around how to make spec useful but so far it's not clicking. Am I on the right track?

github.com/caseworker/casework

Follow

I tried getting spec.test/check working but just got lost in how to deal with functions that call the database. Also was a bit miffed to find out that instrument doesn’t check `:ret` specs as this was what first made me reach for it - a fn returning the wrong thing.

Sign in to participate in the conversation
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!