DalekBaldwin / check-it

Randomized specification-based testing for Common Lisp. Available through Quicklisp.
51 stars 10 forks source link

Allow inline example test cases #8

Closed DalekBaldwin closed 9 years ago

DalekBaldwin commented 9 years ago

This is easier than manually adding them to the regression file and helps to self-document what the values produced by a complicated generator are supposed to look like.

Could be as simple as (check-it (generator (integer)) test :examples (list 5 12)).