Check out the JUnit DataSource Helper package at JavaRanch: http://www.javaranch.com/codebarn.jsp
It'll allow you to configure a DataSource in a simple JNDI context via a properties file. And you can bind other properties using the standard JNDI API. K.C. -----Original Message----- From: Paul Spencer [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2006 8:22 AM To: Maven Users List Subject: [m2] Setup a jndi environment for testing (surfire) I would like to setup a JNDI environment to be used during the testing phase, i.e. the surefire plugin. The environment would contains database (java:comp/env/jdbc) and environment entries (java:comp/env) that would be used by the unit tests. Suggestions? Paul Spencer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
