Here's a trivial patch that I've found useful. After catching an
uncaught exception in a test, set! *e so you can examine the stack
trace afterward.

===================================================================
--- src/clojure/contrib/test_is.clj     (revision 314)
+++ src/clojure/contrib/test_is.clj     (working copy)


@@ -233,7 +289,8 @@
         (try (t)
              (catch Throwable e
                (report :error "Uncaught exception, not in assertion."
-                       nil e))))))
+                       nil e)
+              (set! *e e))))))


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