私はbuild.xmlを書いています。ただし、junit タスクに問題があるようです。junitタスクを実行すると。私は成功を収めることができますが、junitレポートには、エラーのある1つのテストしか実行されていないことが示されています. しかし、私は10以上のテストを持っています。私のjunitタスクで何かが実行されているのではないかと思います。これが私のコードです。
<property name="src.dir" value="src"/>
<property name="bin.dir" value="bin"/>
<property name="dest.dir" value="dest"/>
<property name="test.dir" value="test/>
<property name="lib.dir" value="lib"/>
<path id="classpath">
<pathelement location="${lib.dir}/junit-4.11.jar"/>
<pathelement location="${lib.dir}/ant-junit4.jar"/>
</path>
<target name="test" depends="compile">
<junit printsummary="yes" haltonfailure="no">
<classpath>
<pathelement location="${bin.dir}"/>
<path refid="classpath"/>
</classpath>
<formatter type="plain" usefile="false"/>
<batchtest fork="yes">
<fileset dir="${test.dir}" includes="*Test*.java"/>
</batchtest>
</junit>
</target>
何が悪いのかわからないので、誰か助けてくれませんか?