Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Running junit tests with jars in WEB-INF/lib
Running junit tests with jars in WEB-INF/lib [message #193905] Mon, 04 June 2007 09:42
Eclipse UserFriend
Originally posted by:

Hi list

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.

TIA Jens
Previous Topic:Datatools project RC2 doest show it's perspective
Next Topic:Glassfish plugin install prob
Goto Forum:

Current Time: Wed Dec 17 19:59:09 GMT 2014

Powered by FUDForum. Page generated in 0.01601 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software