Skip to content

Commit 8270eb5

Browse files
author
Ryan
committed
initial load - testng template to run single class/object tests.
1 parent 8b9adeb commit 8270eb5

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

testng-single.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
2+
3+
<!--
4+
Copyright (C) 2011 10gen Inc.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
19+
<!--
20+
This file is a template. It is copied to build/test/test-single.xml if a single class test is run.
21+
22+
Single object tests are easier to use during development when working on a specific section of
23+
the driver.
24+
25+
To run tests in a single object type:
26+
27+
ant test-single -Dclass.name=org.bson.BSONTest
28+
29+
The previous example runs all the tests in org.bson.BSONTest
30+
-->
31+
32+
<suite name="single class suite">
33+
34+
<test name="single class test">
35+
<classes>
36+
<class name="@CLASS@">
37+
</class>
38+
</classes>
39+
</test>
40+
41+
</suite>

0 commit comments

Comments
 (0)