test-check

lucasbradstreet 2016-10-28T06:15:03.000102Z

@viebel so great!

Yehonathan Sharvit 2016-10-28T06:15:47.000103Z

@lucasbradstreet which one? the blog post or the interactive doc?

lucasbradstreet 2016-10-28T06:19:33.000105Z

Both are great. I love the docs versions with inline testable examples though. I want it everywhere 😄

lucasbradstreet 2016-10-28T06:21:31.000106Z

In the example where the property is incorrect i.e. (let [s (sort v)] (< (first s) (last s))))) it might be useful to say that both properties and the code they test can be incorrect. Usually you’re trying to start from a correct property and find a bug in your code, but sometimes your code ends up testing your properties instead. I’m not sure how obvious it’ll be to a new user

Yehonathan Sharvit 2016-10-28T12:14:41.000107Z

good input

Yehonathan Sharvit 2016-10-28T12:14:49.000108Z

how would you fix it @lucasbradstreet ?

Yehonathan Sharvit 2016-10-28T12:16:21.000109Z

@lucasbradstreet you can live interactive doc with the codox klipse theme. It’s super easy to integrate in any lib that is cljs ported

Yehonathan Sharvit 2016-10-28T12:16:36.000110Z

https://github.com/viebel/codox-klipse-theme