You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Vincent Massol <vm...@pivolis.com> on 2004/05/10 08:38:02 UTC

Newbie questions (was RE: [ANN] Cactus 1.6 has been released)

Hi Girish,

What does this have to do with the Cactus 1.6 release? Please always use
an email subject that is meaningful.

See below for answers.

> -----Original Message-----
> From: Girish Patil [mailto:Girish.Patil@cybertech.com]
> Sent: 10 May 2004 06:22
> To: 'Cactus Users List'
> Subject: RE: [ANN] Cactus 1.6 has been released
> 
> HELLO EVERYBODY
> I am new to cactus and i would like to incorporate it in our project
> 
> My Application server is WebLogic 6.1(Its an old application that we
are
> maintaining)
> 
> 1) How can i use Cactus with ANT and Weblogic to test EJB's?

See the Cactus web site
(http://jakarta.apache.org/cactus/integration/ant/index.html)

> 2) Is there any step by step Tutorial for the same ?

See the Cactus web site.

> 3) Also I have a Question .. How much to test ??

That's a complex question... :-) Answer: it depends...

> 
>    If there is a EJB Method which accepts 4 parameters
> 
>    myEJBMethod(String str, Object obj1,Object Obj2,int age){
>    }
> 
> 
>   I should be testing this method with various inputs like
>   1) null string with Null objects,
>   2) valid string string with null objects ...
>   3) all valid string
>    ......
>    ......
>   This method should not break for any of these combinations.so
>   I can generate as such so many combinations ..thus i have a question
>   How many test methods should i write ?

Start by testing whatever you feel can break, i.e. the complex parts.

Thanks
-Vincent

> 
> Please give me inputs
> 
> 
> Thanks in advance...
> Girish

[snip]