File: build-sample.xml

package info (click to toggle)
testng 6.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,364 kB
  • ctags: 10,275
  • sloc: java: 52,394; xml: 2,984; php: 35; sh: 21; makefile: 5
file content (30 lines) | stat: -rw-r--r-- 905 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<project name="testng" default="run" basedir=".">

	<property name="testng.home" value="c:/java/testng" />
    <property name="lib.dir" value="${testng.home}/lib"/>
    <property name="testng.jar" value="${testng.home}/testng-2.5-jdk15.jar" />

	<path id="run.cp">
		<!--
      <path refid="compile.cp"/>
-->
		<pathelement location="build" />
		<pathelement location="${lib.dir}/qdox-1.5.jar"/>
		<pathelement location="${java.home}/../lib/tools.jar"/>
	</path>

	<target name="run" description="Run tests" >
		<echo>Defining task from ${testng.jar}</echo>
		<taskdef name="testng"
              classname="org.testng.TestNGAntTask"
              classpath="${testng.jar}" />

		<testng classpathref="run.cp"
        dumpcommand="true" verbose="9" outputdir="test-outputs">
			<classfileset dir="build">
				<include name="**/justin/*Test*.class" />
			</classfileset>
		</testng>
	</target>

</project>