Hi group,

I recently noticed that fixtures were not being called for some tests  
in my code and it turns out (thanks, Chouser) the use of test-ns-hook  
is incompatible with fixtures.  This isn't necessarily undesirable  
behavior, but it raises an issue: does anyone want high-level support  
for grouping and ordering tests while using fixtures to setup and tear  
down test resources?

Currently, if one wishes to specify which tests are called while using  
fixtures, a test-ns-hook function needs to be implemented that  
directly calls fixtures with the appropriate tests as arguments.

The test namespace that brought the issue to my attention can be found  
at:
http://github.com/mattrepl/clojure-cassandra/blob/ff4ed1c03fb5e9888419198eb8f3a57c7d69beac/src/cassandra/test.clj

In this example, the test-ns-hook would become:
http://gist.github.com/146934

-Matt

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

Reply via email to