-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtestng.xml
24 lines (22 loc) · 884 Bytes
/
testng.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<suite name="RHQ CLI JS/JAVA Test">
<listeners>
<!-- Listener to send report to Report Engine Server -->
<!-- <listener class-name="com.redhat.reportengine.client.ReportEngineTestNGListner" /> -->
</listeners>
<!-- default user/pass to run all CLI tests -->
<parameter name="cli.username" value="rhqadmin"/>
<parameter name="cli.password" value="rhqadmin"/>
<!-- if any of comma-separated messages is found in CLI outout - test fails -->
<parameter name="make.failure" value="Login failed:,No such file or directory"/>
<test name="Test">
<classes>
<class name="com.redhat.qe.jon.clitest.tests.CliTest">
<parameter name="js.file" value="example_test.js"/>
<parameter name="expected.result" value="Login successful"/>
<methods>
<include name="runJSfile"></include>
</methods>
</class>
</classes>
</test>
</suite>