On Jul 14, 1:23 pm, Jarkko Oranen <[email protected]> wrote:
> Perhaps it
> would be best to consider test-ns-hook a low-level construct that can
> do whatever it wants with the defined tests and fixtures, and provide
> some other means for specifying which tests will be run.

Yes, I'm leaning this way too.  If you want to control the order in
which tests run, you should also control when set-up / tear-down
occurs, and not use the fixture mechanism at all.  For example:

(defn test-ns-hook
  ... global set-up ...
  (test-group-one)
  (test-group-two)
  ... global tear-down ...)

(deftest test-group-one
  ... set-up specific to group one ...
  (test-a)
  (test-b))

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