|Running junit tests with jars in WEB-INF/lib [message #193905]
||Mon, 04 June 2007 09:42
Originally posted by: djarnis.gmail.com|
Is there a simple way to have the jars in WEB-INF/lib available for junit
testing (in a dynamic web project)?
You could argue, that the stuff in WEB-INF/lib should only be available
when running the web application, but you often end up with code you want
to run some simple unit testing that relies on the webapp jars. But
currently (eclipse-3.2.2 + wtp-1.5.4) you have to create a junit launch
configuration where you manually add the WEB-INF/lib jars to the classpath
and this is a bit cumbersome if you have many test classes.
Powered by FUDForum
. Page generated in 0.05998 seconds