jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prabodh Goel <prabodhg...@yahoo.com>
Subject RE: MBeans with Junit
Date Tue, 24 Sep 2002 11:31:14 GMT

Hi

Is there any document link which suggests how  MBeans
can be used with junit ?

Thanks
prabodh
--- Qingxian Wang <qingxian_wang@sunsystems.com>
wrote:
> We wrote a simple utility class to deploy any
> application, e.g. EAR, SAR,
> etc to the application server, e.g. JBoss.  Hence,
> deploying a MBean is part
> of our build and test script.  After the MBean is
> deployed, the test cases
> can be run in either the same script, or from an
> IDE, e.g. IntelliJ or
> JBuilder.
> 
> Qingxian
> 
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@octo.com]
> Sent: 24 September 2002 11:03
> To: 'Cactus Users List'
> Subject: RE: MBeans with Junit
> 
> 
> Hi Qinxian,
> 
> I agree for unit testing MBeans themselves. However,
> how do you write
> the following with pure JUnit?
> 
> "unit testing a method that registers an MBean
> against the MBean server
> of WebLogic (for example)"
> 
> You need a way to get inside the app server for
> that.
> 
> -Vincent
> 
> > -----Original Message-----
> > From: Qingxian Wang
> [mailto:qingxian_wang@sunsystems.com]
> > Sent: 24 September 2002 10:47
> > To: 'Cactus Users List'
> > Subject: RE: MBeans with Junit
> > 
> > In my experience, JUnit is sufficient for MBean
> integration test.  It
> is
> > similar to write normal test cases.
> > 
> > Qingxian
> > 
> > -----Original Message-----
> > From: Prabodh Goel [mailto:prabodhgoel@yahoo.com]
> > Sent: 24 September 2002 10:26
> > To: Cactus Users List
> > Subject: RE: MBeans with Junit
> > 
> > 
> > 
> > Hi Vincent,
> > 
> > I want to write integration unit tests with Mbean
> (JMX
> > stuff). If it is possible with just junit, then
> why I
> > should go for Cactus as you said it is better.
> > Kindly explain
> > 
> > Thanks
> > - Prabodh
> > 
> > --- Vincent Massol <vmassol@octo.com> wrote:
> > > Hi Prabodh,
> > >
> > > As you know MBeans are simply java beans. As
> such
> > > they be unit tested
> > > with JUnit (no need for Cactus).
> > >
> > > Now, if you want to write integration unit tests
> > > like unit testing a
> > > method that registers an MBean against the MBean
> > > server of WebLogic (for
> > > exemple), then Cactus is a good choice.
> > >
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: Prabodh Goel
> [mailto:prabodhgoel@yahoo.com]
> > > > Sent: 24 September 2002 08:09
> > > > To: Cactus Users List
> > > > Subject: MBeans with Junit
> > > >
> > > >
> > > > Hi
> > > >
> > > > Can we use Junit Framework ( *not* Cactus) to
> unit
> > > > test MBeans or JMX related stuff ?
> > > >
> > > > Thanks
> > > > Prabodh
> > > >
> > > >
> > > >
> __________________________________________________
> > > > Do you Yahoo!?
> > > > New DSL Internet Access from SBC & Yahoo!
> > > > http://sbc.yahoo.com
> > > >
> > > > --
> > > > To unsubscribe, e-mail:   <mailto:cactus-user-
> > > > unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <mailto:cactus-user-
> > > > help@jakarta.apache.org>
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > >
> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:cactus-user-help@jakarta.apache.org>
> > >
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > New DSL Internet Access from SBC & Yahoo!
> > http://sbc.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:cactus-user-help@jakarta.apache.org>
> > 
> > 
> > This e-mail and any files transmitted with it are
> confidential and
> > intended
> > solely for the use of the individual or entity to
> whom it is
> addressed. If
> > you have received this e-mail in error you must
> not copy, distribute
> or
> > take
> > any action in reliance on it. Please notify the
> sender by e-mail or
> > telephone.
> > We utilise an anti-virus system and therefore any
> files sent via
> e-mail
> > will
> > have been checked for known viruses. You are
> however advised to run
> your
> > own
> > virus check before opening any attachments
> received as we will not in
> any
> > event accept any liability whatsoever once an
> e-mail and/or any
> attachment
> > is received. Any views expressed by an individual
> within this e-mail
> do
> > not
> > necessarily reflect the views of Systems Union
> Group plc or any of its
> > subsidiary companies.
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:cactus-user-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:cactus-user-
> > help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:cactus-user-help@jakarta.apache.org>
> 
> 
> This e-mail and any files transmitted with it are
> confidential and intended
> solely for the use of the individual or entity to
> whom it is addressed. If
> you have received this e-mail in error you must not
> copy, distribute or take
> any action in reliance on it. Please notify the
> sender by e-mail or
> telephone.
> We utilise an anti-virus system and therefore any
> files 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message