Hi,

it seems as if there is a test package for vertx and Clojure 
(vertx.testools)

Since I would like to test my vertices I tried this simple approach:

(tt/as-embedded (fn []
    (core/deploy-verticle "project/vertices/time.clj")
     (tt/test-complete*)))

But this gives me a timeout. 

BTW: The vertice is really simple:

(core/periodic 1000
               (let [now (h/now)]
                 (eb/publish const/topic-time (h/to-transit {:date-time 
now}))))


The question is: Is it possible to tests vertices that use the eventbus ? 
And if it is possible how it is done ?

Regards
  Roger

-- 
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
--- 
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to