On 11/01/2011 03:05 PM, AndyK wrote: > How would (run-tests 'my-namespace) know to run all those dynamic > tests? I thought that it parsed the namespace for 'my-namespace when > you call it. Or is it that the call to defcsvtests sets off a chain of > macro resolutions before run-tests can even do its thing (so that it
Right. Its that the macro-expansion phase actually reads from the csv file in order to create a number of deftest forms, and each one then gets evaluated, so after you've evaluated (defcsvtests), then (run-tests) will be able to find a number of tests to run. -- 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