Fork me on GitHub
#test-check
<
2016-02-09
>
lucasbradstreet08:02:22

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

paulspencerwilliams08:02:49

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

lucasbradstreet08:02:09

Cool. Was curious

lucasbradstreet08:02:24

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