??????????????????3
???????????? ???????[ 2013/8/6 13:56:54 ] ????????
????????????????????????????????????:
package demo2;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(value = Suite.class)
@SuiteClasses(value={ ParameterTestTriangle.class??TriangleTest.class})
public class TestSuite {
}
??????д??ant???????:
<project name ="first build.xml" default ="report">
<target name="clean" >
<delete dir="dist"/>
<delete dir="bin/demo"/>
<delete dir="report"/>
</target>
<target name="compile" depends="clean">
<javac srcdir="src" destdir="bin" includes="demo2/*.java"
includeantruntime="true" classpath ="libjunit.jar"/>
</target>
<target name="test" depends="compile">
<mkdir dir="report/html"/>
<junit printsummary="yes" haltonerror="false" haltonfailure="false"
fork="yes" >
<formatter type="plain" usefile="false"/>
<formatter type="xml"/>
<test name="demo2.TestSuite"
todir="report"/>
<classpath>
<pathelement location="bin"/>
<pathelement location="libjunit.jar"/>
</classpath>
</junit>
<junitreport todir="report">
<fileset dir="report">
<include name="TEST*.xml"/>
</fileset>
<report format="frames" todir="report/html"/>
</junitreport>
</target>
<target name="report" depends="test">
<echo>Hello world</echo>
</target>
</project>
???????н?????:
??????????????????н??
???????????????????????н??:
????????????????????:
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11