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
+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
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"
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
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