> -----Original Message-----
> From: Patrick Lightbody [mailto:[EMAIL PROTECTED]]
> Sent: 31 July 2002 16:20
> To: Vincent Massol; 'Cactus Users List'
> Subject: Re: beginXxx and authentication
> 
> Vincent,
> Wouldn't adding a globalBegin/globalEnd or localSetUp/localTearDown
pair
> of
> methods to AbstactTestCase do the trick?

Yes. Although I am not sure the names are right ... :-)

What about:

- setUp() : run on server side before each test
- TearDown() : run on server side before each test
- clientSetUp() : run on client side before each test
- clientTearDown() : run on client side before each test

But yes, it is very easy to implement, simply add the methods to
AbstractTestCase.

Thanks
-Vincent

> 
> -Pat
> 
> ----- Original Message -----
> From: "Vincent Massol" <[EMAIL PROTECTED]>
> To: "'Cactus Users List'" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 31, 2002 3:03 PM
> Subject: RE: beginXxx and authentication
> 
> 
> > Hi Patrick,
> >
> > I completely agree with you! There is actually a item for that in
the
> > todo list on that subject. Can I put your name there as a volunteer
?
> > :-)
> >
> > Thanks
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Patrick Lightbody [mailto:[EMAIL PROTECTED]]
> > > Sent: 31 July 2002 14:42
> > > To: [EMAIL PROTECTED]
> > > Subject: beginXxx and authentication
> > >
> > > I think Cactus should introduce a new method, similar to setUp,
> > tearDown,
> > > but that runs on the client side. Basically, I think it's sorta
lame
> > that
> > > all my tests have to have a beginXxx method that authenticates the
web
> > > request. If would be nice if there were a method that was called
once
> > that
> > > could handle this. Then I could put it in a base class and extend
my
> > tests
> > > from there and forget about authentication and instead focus on
unit
> > > testing
> > > :)
> > >
> > > -Pat
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:cactus-user-
> > > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:cactus-user-
> > > [EMAIL PROTECTED]>
> >
> >
> >


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to