ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Fisher <>
Subject Junit and Ant: batchtest
Date Thu, 08 Aug 2002 16:57:26 GMT
I'm using ant and junit with the batchtest property. The pattern matching with the fileset
property is correctly matching my class names
but when junit goes to execute the classes it doesn't prepend the test classes w/ the package
info, is there a way around this besides
ripping out the package declarations in my classes?

Here's the xml...

  <target name="runTest">
    <junit printsummary="yes" haltonfailure="no">
      <classpath path="${subproj.vizCommon.cp}"/>
      <formatter type="plain" />

      <batchtest fork="yes" todir=".">
        <fileset dir="c:/code/vizCommon/src/test/common/data">
          <include name="**/Junit*.java"/>
          <exclude name="**/Test*"/>
Any help appreciated,
Sean Fisher

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message