Re: deftest metadata

2009-10-18 Thread Phil Hagelberg
Phil Hagelberg writes: > Would it be a good idea to change deftest so that it accepts an optional > metadata map just like defn? I can implement it if it's wanted. Here's the ticket and patch: https://www.assembla.com/spaces/clojure/tickets/201-Make-deftest-keep-var-metadata I ran into a very

Re: deftest metadata

2009-10-18 Thread Stuart Halloway
+1, we'd use this immediately. > On Oct 19, 9:32 am, Phil Hagelberg wrote: >> It's a fairly common idiom in other languages to have your test suite >> broken up into unit tests and higher-level integration tests. >> >> I've implemented this for one of my projects using metadata on each >> test

Re: deftest metadata

2009-10-18 Thread George Jahad
Seems like a good idea to be able to set metadata on test vars. I work on the project Phil mentions above, and it does come in handy for categorizing tests. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure"

Re: deftest metadata

2009-10-18 Thread Timothy Pratley
On Oct 19, 9:32 am, Phil Hagelberg wrote: > It's a fairly common idiom in other languages to have your test suite > broken up into unit tests and higher-level integration tests. > > I've implemented this for one of my projects using metadata on each test > var. Unfortunately the current impleme

deftest metadata

2009-10-18 Thread Phil Hagelberg
It's a fairly common idiom in other languages to have your test suite broken up into unit tests and higher-level integration tests. I've implemented this for one of my projects using metadata on each test var. Unfortunately the current implementation of deftest does not provide a way to set meta