-
1. Re: Unit Testing
holtak Apr 5, 2005 7:53 AM (in response to wesleyhall)oracle has its own EJB3 testing framework for testing outside the container, which actually is very simple
dunno if it can be applicated to on apps written for jboss, but similar software for jboss is just a mkatter of time -
2. Re: Unit Testing
bill.burke Apr 6, 2005 10:09 AM (in response to wesleyhall)We'll have an out-of-container EntityManager implementation soon.
Otherwise JBoss has some nice extensions to JUnit that unfortunately we haven't documented yet.
BUT...if you checkout CVS and look in the EJB3 project you'll see it in action. Specifically
build-test.xml
and
all the tests under test/src/...
The JBossTestCase class allows you to specify archives you want deployed before the test runs and will automatically delete them when they are finished. I've been trying to get somebody at Jboss to package and document our JUnit stuff....Looks like I'll just have to do it myself... -
3. Re: Unit Testing
swizard Jul 7, 2005 7:59 PM (in response to wesleyhall)"bill.burke@jboss.com" wrote:
We'll have an out-of-container EntityManager implementation soon.
can i get out-of-container EntityManager implementation in this time? -
4. Re: Unit Testing
bill.burke Jul 7, 2005 11:55 PM (in response to wesleyhall)If you just want an EntityManager, go to www.hibernate.org.