Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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:WTP 2.0 RC1 / RC2 doesn't show J2EE perspective or WEB project types
Next Topic:Can Dali1.0 generate entities from PostgreSQL tables?
Goto Forum:

Current Time: Tue Mar 28 14:15:28 GMT 2017

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

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