-
Notifications
You must be signed in to change notification settings - Fork 19
/
input-data.xml
60 lines (57 loc) · 1.9 KB
/
input-data.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0"?>
<easytest:InputTestData xmlns:easytest="urn:org:easetech:easytest:1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:org:easetech:easytest:1.0 testDataSchema.xsd">
<TestMethod name="getItemsDataFromXMLLoader">
<Description>The method with name GetItemsData will be executed 3
times by the EasyTest framework,
once each for the given TestRecord.
</Description>
<InputData>
<Entry key="libraryId" value="-1"/>
<Entry key="globalParam" value="globalParamValue"/>
</InputData>
<TestRecord id="1">
<Description>This test tries to capture the scenario when the data is
available in the DB
for the given set of input parameters. In this
case the expectedItems
should be 2.
</Description>
<InputData>
<Entry key="libraryId" value="91475" />
<Entry key="itemId" value="2600" />
<Entry key="itemType" value="book" />
<Entry key="expectedItems" value="2" />
</InputData>
</TestRecord>
<TestRecord id="2">
<Description>This test tries to capture the scenario when the data is
available in the DB
for the given set of input parameters. In this
case the expectedItems
should be 1.
</Description>
<InputData>
<Entry key="libraryId" value="91475" />
<Entry key="itemId" value="3600" />
<Entry key="itemType" value="journal" />
<Entry key="expectedItems" value="1" />
</InputData>
</TestRecord>
<TestRecord id="3">
<Description>This test tries to capture the scenario when the data is
available in the DB
for the given set of input parameters. In this
case the expectedItems
should be 0.
</Description>
<InputData>
<Entry key="libraryId" value="91475" />
<Entry key="itemId" value="4000" />
<Entry key="itemType" value="ebook" />
<Entry key="expectedItems" value="0" />
</InputData>
</TestRecord>
</TestMethod>
</easytest:InputTestData>