jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David L. Wasler" <dwas...@yahoo.com>
Subject Re: JFunc
Date Mon, 25 Feb 2002 19:50:51 GMT
Hi:

JFunk, sound great me.

Cheers
David L. Wasler
dwasler@yahoo.com


--- Bill Laird <wlaird@wildfire.com> wrote:
> How about JFunk - "Junit Functionaltesting Kit" 
> haha . j/k. JFunc sounds
> cool.  There would also have to be modifications to
> the cactus framework, as
> cactus uses reflection and specifically looks for no
> arguement method calls.
> Vincent has shown me some of the code, so I think I
> can probably handle the
> cactus part of it.
> 
> 
> 
> ----- Original Message -----
> From: "Shane Celis" <Shane@terraspring.com>
> To: "Bill Laird" <wlaird@wildfire.com>
> Cc: <cactus-user@jakarta.apache.org>;
> <rkanade@hotmail.com>
> Sent: Monday, February 25, 2002 2:16 PM
> Subject: Re: Fw: Doing scenario based testing
> 
> 
> > I would definitely be interested in putting
> together our experiences
> > from functional testing and developing a project
> of our own to address
> > these issues.  An extension to JUnit would be my
> approach.  As for the
> > name of the project, I find the name "JFunc"
> appealing.  Anyone else?
> >
> > -shane
> >
> > p.s.  Should I get on the cactus mailing list?
> >
> > On Thursday, February 21, 2002, at 11:31  AM, Bill
> Laird wrote:
> >
> > > Hi Rajesh - your scenario testing , aka
> 'functional testing'  is
> > > something
> > > that there is a growing interest in the
> junit/cactus community. Shane
> > > has
> > > done some good stuff in the area of dynamic
> proxies with some colleagues
> > > of
> > > his (see http://www.gnufoo.org/junit/index.html
> ), which open up Junit
> > > to be
> > > more flexible, which is critical to those of us
> who want to use Junit
> > > (and
> > > thus cactus) to do functional testing.
> > >
> > > I say we spec out a little project here and
> collaborate and get
> > > something
> > > done. Vincent has shown me where some of the
> code changes need to go in
> > > cactus.
> > >
> > > Cheers,
> > > Bill
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Rajesh Kanade" <rkanade@hotmail.com>
> > > To: <cactus-user@jakarta.apache.org>
> > > Cc: <rkanade@hotmail.com>
> > > Sent: Monday, February 18, 2002 7:43 PM
> > > Subject: Doing scenario based testing
> > >
> > >
> > > Hi All
> > >
> > > I am new to cactus and new to testing arena
> itself.
> > >
> > > My company writes web based applications ( using
> MVC ) and I am looking
> > > at
> > > automating testing at various levels.The server
> side code is entirely
> > > return
> > > in Java ( no EJB ).
> > >
> > > I am trying to come up with a framework ( or use
> one if it exists
> > > already )
> > > so that we can test our application at various
> levels like
> > > class level, component level, sub system ,
> system ( all this done
> > > without UI
> > > in picture )
> > > So for a class level I can use JUnit to do my
> testing.
> > > My idea was to build upon this to do component
> testing & then reuse
> > > these
> > > stuff as I move higher in the chain to do sub
> system and system testing.
> > >
> > > I was planning on doing something like this.
> > > I am taking an auction example where we wanted
> to test a ( auction
> > > creation
> > > / bidding )scenario
> > >
> > > So let's say we wanted to create company, users,
> set up an auction, Bid
> > > on
> > > the auction, Approve Winner.
> > >
> > > So in this case a Scenario specification
> Definition file could look like
> > >
> > > CreateCompany <DataFile to Use>
> > > create Users<DataFile to Use>
> > > Create Auction<DataFile to User>
> > > Bid1<DataFile to User>
> > > Bid2<DataFile to Use>
> > > <parallel>
> > > Bid3<DataFile to Use>
> > > ..
> > > Bidn<DataFile to Use>
> > > <parallel>
> > >
> > > ApproveWinner<DataFile to Use>
> > >
> > > The above file could be XML  or csv.
> > > Probably it needs more parameters like expected
> result from this step
> > > etc.
> > >
> > > For each of the activities( each step in the
> scenario file ) there is a
> > > executeActivity meta data file which is
> registered with the engine which
> > > tells the test engine what it needs to do when
> it encounters a specific
> > > activity
> > > So for CreateCompany activity this file would
> specify something like
> > > execute create() method
> com.mycompany.auction.Company object .
> > >
> > > Now using jave reflection the test engine can go
> and execute this method
> > > with the data being read from the datafile
> specified to it from the
> > > scenario
> > > file .
> > >
> > > One thing I have to think in detailed is how do
> I chain these activities
> > > pass results from one activity to another one
> etc. Might be we can have
> > > a
> > > vector of objects passed from one activity to
> another.
> > >
> > > There are some engine specific tags like
> <parallel> which indicate that
> > > all
> > > the steps embedded in those tags should be run
> con currently.
> > >
> > > Advantages of having such a engine are
> > > Theritically we just identify the activities in
> a product & specify the
> > > execution details for this activity and we are
> ready to go.
> > >
> > >
> > > My questions to you all is
> > > Can I use Cactus to achive some thing like this.
> > > Is there a commercial or open source tool to
> achieve something like
> > > this.
> > >
> > >
> > > Thanx
> > >
> > > Rajesh
> > >
> > >
> > >
>
_________________________________________________________________
> > > Join the world's largest e-mail service with MSN
> Hotmail.
> > > http://www.hotmail.com
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > >
> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:cactus-user-help@jakarta.apache.org>
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.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