-
Notifications
You must be signed in to change notification settings - Fork 0
/
testng_scenarios.xml
26 lines (26 loc) · 1.29 KB
/
testng_scenarios.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
25
26
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Celsvs REST API Live tests">
<parameter name="mongodbUri" value="mongodb+srv://celsvs:[email protected]/test?retryWrites=true&w=majority"/>
<parameter name="dbName" value="biblioteca_test_db"/>
<parameter name="booksCollectionName" value="books"/>
<parameter name="checkoutsCollectionName" value="checkouts"/>
<parameter name="publishersCollectionName" value="publishers"/>
<parameter name="usersCollectionName" value="users"/>
<parameter name="celsvsBaseUri" value="http://localhost:8080/celsvs/api"/>
<parameter name="booksUri" value="books"/>
<parameter name="usersUri" value="users"/>
<parameter name="checkoutsUri" value="checkouts"/>
<parameter name="publishersUri" value="publishers"/>
<test name="Celsvs REST API Scenarios tests" verbose="2">
<groups>
<run>
<include name="scenarios"/>
</run>
</groups>
<classes>
<class name="com.softuarium.celsvs.apitests.scenarios.TestBookRecordsScenarios"/>
<class name="com.softuarium.celsvs.apitests.scenarios.TestDocumentCheckoutScenarios"/>
</classes>
</test> <!-- Test access to book resources -->
</suite> <!-- Celsvs REST API Live tests -->