ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emerson Cargnin - MSA" <emers...@sicredi.com.br>
Subject not finding the test class
Date Tue, 28 May 2002 16:08:59 GMT
I managed to run junit task, but i just can't manage to make it found the test class, it's
compiled  under test dir  (${tests.dir}) and i checked that the class is indeed there.

  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

  [junit]     Caused an ERROR
  [junit] br.com.sicredi.poc1.testes.Poc1Test
  [junit] java.lang.ClassNotFoundException: br.com.sicredi.poc1.testes.Poc1Test

   <!-- Tests -->
   <target name="test" depends="deploy,compiletests">
    <junit printsummary="true" fork="yes">
      <formatter type="plain" usefile="false"/> 
      <test name = "br.com.sicredi.poc1.testes.Poc1Test"/>
   <classpath>      
  <fileset dir="${tests.dir}"/>  
      </classpath>      

    </junit>
   </target>
Emerson Cargnin - MSA
SICREDI - Ramal 3358-4860

Mime
View raw message