jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Girish Patil <Girish.Pa...@cybertech.com>
Subject RE: [ANN] Cactus 1.6 has been released
Date Mon, 10 May 2004 04:22:25 GMT
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?
2) Is there any step by step Tutorial for the same ?
3) Also I have a Question .. How much to test ??

   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 ?

Please give me inputs 


Thanks in advance...
Girish 




-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com]
Sent: Sunday, May 09, 2004 1:01 PM
To: 'Cactus Users List'
Subject: RE: [ANN] Cactus 1.6 has been released


Hi,

Yeah, I have messed up somehow with the branching (not sure what
happened). I've noticed the problem with the source too. I'll try to fix
this. In the meantime, maybe you can grab a binary distribution?

The Cactus plugin is no longer supported and is not functional (well, I
haven't tried it for 6 months and I would be amazed if it worked. The
guy who worked on it (Julien) left the project... We're waiting for some
nice guy to step in and help us with it... ;-)

Thanks
-Vincent

> -----Original Message-----
> From: snpe [mailto:snpe@snpe.co.yu]
> Sent: 09 May 2004 03:12
> To: Cactus Users List
> Subject: Re: [ANN] Cactus 1.6 has been released
> 
> Hello Vincent,
>   I have tried make Cactus 1.6 (CACTUS_1_6_BRANCH) from cvs
> 
> framework wokr fine
> In documentation I try
> ant
> and get :
> /u1/tomcat/jakarta-cactus/documentation/build.xml:108: srcdir
> "/u1/tomcat/jakarta-cactus/documentation/src/java" does not exist!
> 
> In integration/ant i do
> ant dist
> 
> and get
> /u1/tomcat/jakarta-cactus/integration/ant/build.xml:315: Could not
create
> task or type of type: junit.
> 
> I have ant 1.6.1 wiht ant-junit.jar (and JUnitTask) in ANT_HOME/lib
> 
> Does cactus plugin work with eclipse 3.0M8 ?
> 
> regards
> Haris Peco
> On Saturday 08 May 2004 12:30 pm, Vincent Massol wrote:
> > The Cactus project is pleased to announce the release of version
1.6.
> > Cactus is a unit testing framework for testing server side java
code.
> >
> > Goals
> > -----
> >
> > Primarily a bug fix release. Several usability enhancements and the
> > addition of the Maven plugin as part of the Cactus distribution.
Move
> > to the Apache 2.0 license.
> >
> > Main new features
> > -----------------
> >
> > * [Core] Added the Maven plugin. It was formerly hosted in the Maven
> >   project's own CVS. It is now in the Cactus CVS and is part of the
> >   Cactus distribution. To install the plugin in your Maven
installation
> >   please see
> >   http://jakarta.apache.org/cactus/integration/maven/installing.html
> > * [Core] Added new ServletContextWrapper.setInitParameters() method
> > which
> >   allows to programmatically define Context init parameters.
> > * [Ant] The <cactus> Ant task now supports Mac OSX.
> > * [Ant] Added support for Resin 3.x in the <cactus> Ant task
(<resin3x>
> >   element).
> > * [Ant] Better configurability of the <cactus> container elements:
> >     - new configXml attribute for the <weblogic7x> element
> >     - added support for JBoss jboss-web.xml in the <jboss3x> element
> >     - new contextxml attribute for the <tomcat4x> element
> >     - new jndiport attribute for the <jboss3x> element
> > * [Maven] Only runs tests if there are Cactus tests present in the
> >   filesystem.
> > * [Maven] Added support for EJB testing with Cactus.
> > * [Maven] Added cactus.jboss3x.jndiport property to specify which
JNDI
> > port
> >   to use when shutting down JBoss.
> > * [Maven] Added support for Resin 3.x (above version 3.0.5).
> > * [Maven] Added support for custom ports when using JBoss. Please
note
> > that
> >   this will only work with custom JBoss configs. The default config
used
> > by
> >   Cactus uses port 8080 (that's the default JBoss config).
> > * [Maven] Added 2 new properties to support debugging Cactus tests:
> >   cactus.logging.config.client and cactus.logging.config.server.
They
> > point
> >   to logging config properties file.
> > * [Maven] Added support for custom WebLogic config.xml
> > * [Maven] The cactus:test goal now automatically discovers JUnit
Test
> > Cases
> >   from non JUnit java classes and by default excludes all classes
that
> > are
> >   not tests.
> >
> > Changes
> > -------
> >
> > Please check the Changes page at
> > http://jakarta.apache.org/cactus/changes.html for a full list of the
> > changes in version 1.6.
> >
> > Please check the Changes page at
> >
http://jakarta.apache.org/cactus/integration/maven/changes-report.html
> > for a full list of the changes in the Maven plugin for Cactus 1.6.
> >
> > Known limitations and bugs:
> > ---------------------------
> >
> > * Possible binary compatibility problem: We've had a big internal
> >   restructuration: we have moved all the non public API classes to
java
> >   packages with the name "internal". As a result of this change you
may
> >   need in some cases to rebuild your code with the new cactus jar in
the
> >
> >   classpath.
> > * Due to the internal package restructuring, the jspredirector.jsp
file
> >   was modified. If you have installed this file manually somewhere,
> > you'll
> >   need to remember to update it with the new version.
> > * List of known bugs are available on http://tinyurl.com/3edgv
> >
> > For more information about Cactus, please visit
> > http://jakarta.apache.org/cactus/.
> >
> > Have fun,
> > -The Cactus team
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



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

Mime
View raw message