Yeah, there is a mock container available at java.net.
See http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=JBIMockFramework
However I don't have any ClassNotFoundException errors.
All the needed dependencies are brought by maven.
The only problem I have is that the database is not available
(unzipped from the right module) when tests are run.
I also add a problem with the configuration properties file
which I bypassed by adding the following line at the beginning
of the setup method:
System.setProperty("user.dir", new
File("src/main/jbi").getAbsolutePath());
On 4/5/07, Alex Boisvert <[EMAIL PROTECTED]> wrote:
I think you'll get to the bottom of it in less than 5-6 additional
dependencies ;)
Perhaps Guillaume knows if there's a lightweight/mock container we could
use
for testing?
alex
On 4/4/07, Matthieu Riou <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Does anybody knows if the test case in the jbi module can work
standalone?
> It seems to need a lot of libraries to run (I stopped adding them at
> spring)
> so I just want to make sure before continuing with the game of
> ClassNotFound
> - add lib - ClassNotFound - add lib - ...
>
> Cheers,
> Matthieu
>
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/