2
IntelliJ에서 생성 된 개미 빌드를 사용하고 프로젝트의 단위 테스트를 통합하려면 어떻게해야합니까? 허드슨을 개발 프로세스에 통합하고 싶습니다.IntelliJ는 단위 테스트로 개미 생성을 생성 했습니까?
IntelliJ에서 생성 된 개미 빌드를 사용하고 프로젝트의 단위 테스트를 통합하려면 어떻게해야합니까? 허드슨을 개발 프로세스에 통합하고 싶습니다.IntelliJ는 단위 테스트로 개미 생성을 생성 했습니까?
<junit>
및 <junitreport>
작업을 포함하도록 build.xml을 편집하십시오.
<target name="junit-test" description="run all junit tests" depends="compile">
<!-- Debug output
<property name="test.class.path" refid="test.class.path"/>
<echo message="${test.class.path}"/>
-->
<junit printsummary="yes" haltonfailure="${haltonfailure}">
<classpath refid="test.class.path"/>
<formatter type="xml"/>
<batchtest fork="yes" todir="${junit.out}">
<fileset dir="${test.src}">
<include name="**/*Test.java"/>
</fileset>
</batchtest>
</junit>
<junitreport todir="${junit.out}">
<fileset dir="${junit.out}">
<include name="TEST-*.xml"/>
</fileset>
<report todir="${junit.out}" format="frames"/>
</junitreport>
</target>