Hi Mayank, That's not the part that's confusing me. Suppose I have 100 tests, and when I run my tests I only get
{:type :summary, :pass 99, :test 100, :error 0, :fail 1} Can you tell which one was the one that filed? I need more information, the information that's described in the documentation, where the expected and actual value are displayed... I'm not getting that Thanks, Erlis On Mon, Aug 27, 2012 at 1:02 PM, Mayank Jain <firesof...@gmail.com> wrote: > correction : > ("a" != "b") I mean (b has "" around it i..e) > > > On Mon, Aug 27, 2012 at 10:31 PM, Mayank Jain <firesof...@gmail.com>wrote: > >> >> >> On Mon, Aug 27, 2012 at 10:17 PM, Erlis Vidal <er...@erlisvidal.com>wrote: >> >>> Hi Mayank, >>> >>> I'm still unable to see why the test failed! >>> >> >> The test failed because "a" is not equal to "b" ! Is that part confusing >> you? or is the question something else? >> >> Total tests = 1 (deftest declaration i.e.) >> How many passed? = 1 (1 == 1) >> How many failed? = 1 ("a" != b) >> >> >>> Anyone knows why I'm getting this? >>> >>> [image: Inline image 1] >>> >>> >>> On Mon, Aug 27, 2012 at 7:22 AM, Erlis Vidal <er...@erlisvidal.com>wrote: >>> >>>> I'm expecting the expected & actual detail. Maybe my problem is due to >>>> I'm executing this from lighttable insta repl. >>>> Running this code in the web repl give me the same result. >>>> >>>> http://tryclj.com/ >>>> >>>> Enter some Clojure code to be evaluated. >>>> >>>> Clojure> (use 'clojure.test) >>>> nil >>>> Clojure> (is (= "a" "b")) >>>> false >>>> Clojure> >>>> >>>> >>>> On Sun, Aug 26, 2012 at 9:20 PM, Matthew Boston < >>>> matthew.bos...@gmail.com> wrote: >>>> >>>>> Here's my output using the repl from leiningen 2 (nREPL) >>>>> >>>>> user=> (use 'clojure.test) >>>>> nil >>>>> user=> (is (= "a" "b")) >>>>> >>>>> FAIL in clojure.lang.PersistentList$EmptyList@1 (NO_SOURCE_FILE:1) >>>>> expected: (= "a" "b") >>>>> actual: (not (= "a" "b")) >>>>> false >>>>> user=> >>>>> >>>>> It tells me both the expected and actual. What else are you expecting? >>>>> >>>>> On Sunday, August 26, 2012 7:40:48 PM UTC-4, Erlis Vidal wrote: >>>>>> >>>>>> Hi guys, >>>>>> >>>>>> I'm starting to use clojure.test but when I got a failing test I >>>>>> don't get any information why the error failed. >>>>>> >>>>>> for example if I evaluate this in the repl I just get *false* back >>>>>> >>>>>> (is (= "a" "b")) >>>>>> >>>>>> running the tests with (run-tests) give me this result back: >>>>>> >>>>>> {:type :summary, :pass 2, :test 1, :error 0, :fail 1} >>>>>> >>>>>> I would like to know if I'm missing something or maybe this is >>>>>> because I'm using the lightable playground. >>>>>> >>>>>> Thanks, >>>>>> Erlis >>>>>> >>>>> -- >>>>> 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 >>>> >>>> >>>> >>> -- >>> 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 >>> >> >> > -- > 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 > -- 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
<<no-detail-while-test-failure.png>>