ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus" <marc...@criticalpointsoftware.com>
Subject junit specify system properties
Date Thu, 27 Dec 2001 00:37:34 GMT
HI,

I have the following in my code:
    <junit printsummary="yes" fork="yes" haltonfailure="no">
      <jvmarg value="-Dmdb.properties.file=mdb.testsubmitqueryMthread.properties  "/>
      <classpath>
        <fileset dir="${java_deploy_dir}/lib">
          <include name="*.jar"/>
        </fileset>
        <fileset dir="${JLIB}">
          <include name="*.jar"/>
        </fileset>
      </classpath>
      <formatter type="xml" />
      <test name="cp_test.system.TestSubmitQueryMThread" />
    </junit>

but i want not only to pass a property file but the code needs additional parameters pass
to it, that meaning our code.

cp_test.system.TestSubmitQueryMThread -Dmdb.properties.file=mdb.testsubmitqueryMthread.properties
minitest questionsfile answerfile 1  

Question: how doe sone pass more args in using junit?

Thanks
-mez

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message