Hello, I'm trying to use tst/tap.clj but the tap output does not contain the 'not ok' line. I think this is a bug in tap.clj. Here is the small test:
(ns tc (:use [clojure.test])) (deftest addition (is (= 4 (+ 2 2))) (is (= 8 (+ 3 4)))) >(use 'clojure.test) >(use 'clojure.test.tap) >(require 'tc) >(with-tap-output > (run-tests 'tc)) # {:type :begin-test-ns, :ns #<Namespace tc>} # {:type :begin-test-var, :var #'tc/addition} ok (addition) (tc.clj:30) # expected:(= 4 (+ 2 2)) # actual:(#<core$_EQ___4341 clojure.core$_eq___4...@59556d12> 4 4) # {:actual (not (= 8 7)), :type :fail, :message nil, :expected (= 8 (+ 3 4))} # {:type :end-test-var, :var #'tc/addition} # {:type :end-test-ns, :ns #<Namespace tc>} 1..1 test.clj seems to be working fine: Testing tc FAIL in (addition) (tc.clj:31) expected: (= 8 (+ 3 4)) actual: (not (= 8 7)) Ran 1 tests containing 2 assertions. 1 failures, 0 errors. Unless I'm missing something to tell tap to generate 'not ok' lines? Cheers. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---