Clojurians
#test-check
<
2016-10-28
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

lucasbradstreet06:10:03

@viebel so great!

viebel06:10:47

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

lucasbradstreet06:10:33

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

lucasbradstreet06:10:31

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

viebel12:10:41

good input

viebel12:10:49

how would you fix it @lucasbradstreet ?

viebel12:10:21

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