Re: trouble running clojure.test

2009-09-23 Thread John Harrop
On Wed, Sep 23, 2009 at 12:29 PM, MarkSwanson wrote: > Environment: vimclojure-2.1.2. clojure from git as of a few days ago. > > Running the tests in a plain REPL from the command line worked > perfectly! > -=* THANKS GUYS !!! *=- > > I wasn't expecting this at all. I thought the REPL in vimclojur

Re: trouble running clojure.test

2009-09-23 Thread MarkSwanson
Environment: vimclojure-2.1.2. clojure from git as of a few days ago. Running the tests in a plain REPL from the command line worked perfectly! -=* THANKS GUYS !!! *=- I wasn't expecting this at all. I thought the REPL in vimclojure actually supported stdout because this works: > (def a "abc") #

Re: trouble running clojure.test

2009-09-23 Thread Stuart Sierra
On Sep 23, 2:51 am, MarkSwanson wrote: > I'm having trouble unit testing clojure code. To be sure I'm just > testing clojure.test, I'm trying to test clojure.contrib.json.read. > > I'm sure I've missed it. test.clj contains defmethod report ... that > has the FAIL println in it. I do not know why

Re: trouble running clojure.test

2009-09-23 Thread Timothy Pratley
I think your environment is swallowing the output. What setup are you running? Try with just a blank REPL, this is what I get: foo=> (ns foo (:use [clojure.test])) nil foo=> (is (= 5 (+ 2 2))) FAIL in clojure.lang.persistentlist$emptyl...@1 (NO_SOURCE_FILE:6) expected: (= 5 (+ 2 2)) actual: (n

trouble running clojure.test

2009-09-22 Thread MarkSwanson
Hello, I'm having trouble unit testing clojure code. To be sure I'm just testing clojure.test, I'm trying to test clojure.contrib.json.read. test.clj states: ;; RUNNING TESTS ;; ;; Run tests with the function "(run-tests namespaces...)": (run-tests 'your.namespace 'some.other.namespace)