vert-x / testtools

Vert.x 2.x is deprecated - use instead
http://vertx.io/docs/vertx-unit/java/
Other
10 stars 10 forks source link

Use environment variable VERTX_MODS if set. #21

Open adrianluisgonzalez opened 10 years ago

adrianluisgonzalez commented 10 years ago

Set the system property vertx.mods from the environment variable VERTX_MODS if it exists.

adrianluisgonzalez commented 10 years ago

Any feedback on this?

purplefox commented 10 years ago

What's the motivation for this?

When running tests don't we always want the modules to be picked up from build/mods?

adrianluisgonzalez commented 10 years ago

Should it use module.links too the same way runMod does? Also, I just added a commit to add platform_lib folders to the classpath.

It just feels inconsistent with the way runMod works....

adrianluisgonzalez commented 10 years ago

Also, if testing a multi module project you will run into problems if you don't use a shared mods directory right?