users@glassfish.java.net

Re: EJB Unit Testing

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Sun, 15 Apr 2007 20:20:04 +0200

Hi there,
I was wondering - what would be wrong in testing EJBs inside container?
For example, I would like to deploy my application and then run some
tests (using separate testing database and other necessary resources),
would be that possible?

If that is possible and reasonable, how can I make it so?


2007/4/7, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org>:
> You could use ejb3unit which is a junit extention for out of container testing (EJB3):
> http://ejb3unit.sourceforge.net/
>
> In this moment it supports entity bean tests, session bean tests and mocked session bean tests.
> [Message sent by forum member 'fbauschulte' (fbauschulte)]
>
> http://forums.java.net/jive/thread.jspa?messageID=211468
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>