Closed jianglibo closed 9 years ago
There are two types of tests in mod-lang-clojure - some that use clojure.test, and others that use vertx.testtools instead. APIIntegrationTests
can only load and run testtool-style tests (like the ones under lang-module/src/test/resources/
). The tests under api/src/test/clojure/
are designed to be ran directly in clojure, which is handled by the clojure-maven-plugin
(see api/pom.xml
).
The tests in lang-module/
deploy a verticle for each test, which can be a bit slow. If you aren't testing any deployment or platform features, it's simpler to use clojure-maven-plugin
and clojure.test directly, like the tests under api/
.
I see. thank you very much. help me a lot.
so I copy one from source APIIntegrationTests.java. put it in integration/clojure/ClojureScriptIntegrationTest.java, when I run mvn intergration-test, It display "Started clojure verticle: basic_integration_test.clj" and stalled. the content of basic_integration_test.clj is copy from source net_test.clj.
what's wrong?