0
基本上,如果測試花費超過2分鐘中止特定的測試,並繼續與其他人,我有這片如何限制測試時間執行從構建XML文件
<junit printsummary="yes" haltonfailure="no" haltonerror="no">
<classpath>
<pathelement path="${build.test}"/>
<path refid="project.class.path" />
</classpath>
<formatter type="plain" usefile="no"/>
<batchtest fork="yes" haltonfailure="no" haltonerror="no" failureproperty="test.failed" todir="../src/result">
<fileset dir="${build.test}">
<include name="**/app/**/*Test.*"/>
<exclude name="**/app/**/*Helper*"/>
</fileset>
</batchtest>
</junit>