Hi Moritz,

Simply beautiful. That works!

Thank you all
Erlis

On Mon, Aug 27, 2012 at 2:06 PM, Moritz Ulrich <ulrich.mor...@gmail.com>wrote:

> This is a result of Light Table's instarepl: The test details get
> printed as string to *test-out*, which instarepl doesn't display.
>
> Tryclj seems to have a bug where it doesn't redirect *out* to the
> web-repl.
>
>
> Anyway, try the following in instarepl:
>
> (binding [*test-out* *out*]
>   (run-tests))
>
> This redirects *test-out* to standard *out*.
>
>
> On Mon, Aug 27, 2012 at 6:47 PM, Erlis Vidal <er...@erlisvidal.com> wrote:
> >
> > Hi Mayank,
> >
> > I'm still unable to see why the test failed!
> >
> > Anyone knows why I'm getting this?
> >
> >
> >
> > 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

Reply via email to