test-check

lucasbradstreet 2016-02-09T08:15:22.000027Z

@paulspencerwilliams: what solution did you end up with, and were you satisfied with the result?

2016-02-09T08:20:49.000028Z

Hi @lucasbradstreet, in the end, I used a combination of roundtripping tests for majority of coverage backed by example based tests for confidence. I will reduce these examples to a couple when I get back to tidying the code. I promised a blog post, and one is in draft although it maybe the weekend before I get chance to revisit it but I really enjoyed the exercise. Satified? I'm not sure, I liked the example based backups atm, but I think that will dissappear as I start to explore more. I can imagine using test.check more as I move my workflow from TDD, to repl driven. https://github.com/paulspencerwilliams/gormanic/blob/master/test/gormanic/core_test.clj

lucasbradstreet 2016-02-09T08:22:09.000030Z

Cool. Was curious

lucasbradstreet 2016-02-09T08:22:24.000031Z

I usually pepper in a few example based tests as a sanity check