In some cases, I've dealt with the datasources problem in testing by make use of a standalone connection pool, such as the opensource Primrose (http://www.primrose.org.uk/, which has worked well for me.

--Ken

On Apr 8, 2010, at 10:42 AM, Malcolm Warren wrote:

Thank you for your reply.

I'm more interested in testing common java classes: e.g. beans being used by .jsp files, but these java classes depend heavily on two things provided by Tomcat in its own virtual machine which Junit can't get at.
1) datasources
2) file paths

regards,
Malcolm

Il 08/04/10 16.01, Gregor Schneider ha scritto:
What do you wnat to test specifically? JSPs? Servlets? or just some
common Java classes being used by a Servlet / JSP?

Rgds

Gregor



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to