On 3 August 2015 at 23:47, Rob Lally <[email protected]> wrote:

> I’m also a little confused by your suggestion that it would be impossible
> to enclose each test in a transaction. The article you point to shows one
> way.


It shows how to pass data to the test by using a dynamic var, which is what
we are using to track the connection, which is what I'm interested in
passing in to the test. If my solution to use a dynamic var to track the
connection is dirty and unacceptable, so is that one. The only difference I
can think of is, using a dynamic var only for tests dirties only tests but
using a dynamic var to track connections is consistent across the code-base.


-- 
J. Pablo Fernández <[email protected]> (http://pupeno.com)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to