Re: Automatically generating test-cases for functions (problem with macros)

2012-03-11 Thread Stuart Sierra
Looks like you're doing something similar to the clojure.test/with-test macro. -S -- 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

Automatically generating test-cases for functions (problem with macros)

2012-03-11 Thread alco
Hi! I've written a macro to generate tests for functions that have the ":_test" key in their metadata. I know that clojure.test automatically runs tests associated with ":test" keys, but I'd like to implement my own test-case generation. Here' what it looks like: (defn my-last "P01 (*) Find