Hey all,
I have some cactus-tests that I wrote back in January or so, now back into the project 
and now running Maven 1.0rc2 and a CVS-Head of cactus-maven-plugin (1.6dev).

Has anyone ran into cactus:test-ear not running any tests?  It cactifies the EAR fine, 
everything looks good, fires up the app server (jboss), closes the appserver but no 
tests are run and no errors.  With the exact same setup, running cactus:test does run 
the tests (but does not solve problem).  Is there some small configuration somewhere 
for EAR testing that I'm missing?

build.proprties
===
cactus.home.jboss3x = c:/jboss/jboss-3.2.3
cactus.src.mergewebxml = ${basedir}/src/conf/cactus-web.xml
===

project.properties
===
cactus.ear=${basedir}/target/${pom.artifactId}-cactus.ear
cactus.war.dir=${basedir}/target
cactus.war.name=${pom.artifactId}-cactus.war
===

The EAR application.xml from cactus:
===snip===
<display-name>Project Session Module for Cactus</display-name>
  <module>
    <web>
      <web-uri>PROJECT_SESSION-cactus.war</web-uri>
      <context-root>PROJECT_SESSION</context-root>
    </web>
  </module>
  <module>
    <ejb>PROJECT_SESSION-2.0-dev.jar</ejb>
  </module>
  <module>
    <ejb>PROJECT_ENTITY-2.0-dev.jar</ejb>
  </module>
</application>
===snip===

The PROJECT_SESSION-cactus.war contains the test class which looks like this (plus 
some other test methods):
===snip===
/*
 * @web:filter name="TestDataView"
 * @web:filter-mapping url-pattern="/*" servlet-name="TestDataView"
 */
public class TestDataView extends ServletTestCase {
    
    public void setUp(){
    }
    public void tearDown(){
    }    
    public void testAAA_INITIALIZE(){
        assertTrue(true);
    }
}
===snip===

TIA for any assistance, kinda bummed that suddenly I don't know how to test my EJB's 
when I used to only a couple of months ago ;-)

-D

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

Reply via email to