-----Original Message-----
From: Bill Burke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 5:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-dev] Jboss + Junit?Our Junit extensions support all of what you want.Its under testsuite/...We need somebody to document this stuff. Somebody volunteered once, but never got back to me.Bill-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of James Higginbotham
Sent: Thursday, January 02, 2003 4:23 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] Jboss + Junit?Hi,
I wanted to drop this note on the dev list since this question is in regards to a previous posting on the dev list. I had heard that the jboss team had made some extensions to Junit, is that right? If so, what were they in a nutshell? Can someone point me to the source as well?
Also, does anyone know if there is a project out that provides Junit as an mbean such that unit tests can be deployed and run within the jboss runtime and test local EJB methods, utilize hot deploy (like the junit custom classloader concept), etc? I was just wondering if anyone had considered such a thing, knowing full well that it would be a JB only thing and that more cross-server solutions have been made (Cactus for one). It seems to be that it would be a more beneficial solution - write, compile, deploy, test within one VM in theory, possibly kicked off from the beanshell in Emacs (David should like that one!). Ok, so I'm dreaming a little.. Thoughts?
James
Title: Message
Bill,
Thanks
for the tip, this is some interesting stuff.. I was thinking of taking it one
step further and constructing a TestRunner that is really an mbean. So, you
could in fact deploy your ear, a jar with the unit tests, then through the
console run a single class's tests.. I haven't quite figured out how to run more
than one without writing either a custom deployer and use some extension like
.junit for the jar of test class(es) or having the mbean querying the
respository and finding all *Test classes deployed. This way, the test can
actually be on the server side and invoke local methods. You could also hot
deploy your ear and your unit tests and run them again without shutting down.
Thoughts? Is this in there and I just missed it? Or, do I just have way too much
time to think about applications of JBoss? I'm just tired of the same ol' J2EE
applications I guess.... I really like the JBossTestSetup and assoc classes -
really nice!
James
- [JBoss-dev] Jboss + Junit? James Higginbotham
- RE: [JBoss-dev] Jboss + Junit? Bill Burke
- RE: [JBoss-dev] Jboss + Junit? James Higginbotham
- RE: [JBoss-dev] Jboss + Junit? Bill Burke
- Re: [JBoss-dev] Jboss + Junit? David Jencks
- RE: [JBoss-dev] Jboss + Junit? Scott Stirling