Hi Vencent,

On Sat, Aug 18, 2012 at 3:49 PM, Vincent <vincent....@gmail.com> wrote:

> Dear ,
>
> I am using clojure.test  for test
>
> in one 'deftest , i had used 3   'is   function to assert
> and in another 'deftest , i had used 5  'is function to assert
>
> It ran all test with sucess , but output is
>
> Ran 4 tests containing 12 assertions
>
> How come 12 ?
>
I had a case where I used Noir test helper (has-status) inside 'is'
functions without realizing that has-status in itself uses assertions. The
output showed me twice the assertions i wrote. The solutions was to not
wrap has-status with an 'is' function.

HTH

>
> thanks in advance
> Vincent
>
>
-- 
Haim

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

Reply via email to