This may be a little off topic, but does this, or any other framework, solve some testing inconveniences that exist in Clojure and probably other functional languages: 1) testing recursive functions. I want to test what a recursion STEP does, not the whole function. Can I mock 'recur'? 2) testing sequence, esp. lazy 3) IoC typically makes code more testable. What are Clojure alternatives for IoC? Pass all dependencies as parameters to your function?
I wonder if code=data philosophy of Lisp enables some testing techniques that are impossible in languages like Java. Typically you can only test a function programmatically, not arbitrary code block. But you can probably introspect code very easily in Clojure, and test parts, regardless if they are functions or not. A test framework could support that in principle... I found that functional code is harder to separate, which would make it harder to test... Any thoughts? Thanks, Julian -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.