1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <testsuite name =" Cucumber" time =" 0.049 " tests =" 6 " skipped =" 0" failures =" 4" errors =" 0" >
3
- <testcase classname =" Examples Tables" name =" Eating cucumbers - These are passing - Example #1.1" time =" 0.007" >
2
+ <testsuite name =" Cucumber" time =" 0.073 " tests =" 9 " skipped =" 0" failures =" 4" errors =" 0" >
3
+ <testcase classname =" Examples Tables" name =" Eating cucumbers - These are passing - #1.1" time =" 0.007" >
4
4
<system-out ><![CDATA[
5
5
Given there are 12 cucumbers................................................passed
6
6
When I eat 5 cucumbers......................................................passed
7
7
Then I should have 7 cucumbers..............................................passed
8
8
]]> </system-out >
9
9
</testcase >
10
- <testcase classname =" Examples Tables" name =" Eating cucumbers - These are passing - Example #1.2" time =" 0.007" >
10
+ <testcase classname =" Examples Tables" name =" Eating cucumbers - These are passing - #1.2" time =" 0.007" >
11
11
<system-out ><![CDATA[
12
12
Given there are 20 cucumbers................................................passed
13
13
When I eat 5 cucumbers......................................................passed
14
14
Then I should have 15 cucumbers.............................................passed
15
15
]]> </system-out >
16
16
</testcase >
17
- <testcase classname =" Examples Tables" name =" Eating cucumbers - These are failing - Example #2.1" time =" 0.007" >
17
+ <testcase classname =" Examples Tables" name =" Eating cucumbers - These are failing - #2.1" time =" 0.007" >
18
18
<failure type =" AssertionError" message =" Expected values to be strictly equal:
19
19
20
20
-8 !== 0
@@ -23,16 +23,16 @@ Then I should have 15 cucumbers.............................................pass
23
23
24
24
-8 !== 0
25
25
26
- samples/examples-tables/examples-tables.feature:9
27
- samples/examples-tables/examples-tables.feature:20 ]]>
26
+ samples/examples-tables/examples-tables.feature:14
27
+ samples/examples-tables/examples-tables.feature:25 ]]>
28
28
</failure >
29
29
<system-out ><![CDATA[
30
30
Given there are 12 cucumbers................................................passed
31
31
When I eat 20 cucumbers.....................................................passed
32
32
Then I should have 0 cucumbers..............................................failed
33
33
]]> </system-out >
34
34
</testcase >
35
- <testcase classname =" Examples Tables" name =" Eating cucumbers - These are failing - Example #2.2" time =" 0.007" >
35
+ <testcase classname =" Examples Tables" name =" Eating cucumbers - These are failing - #2.2" time =" 0.007" >
36
36
<failure type =" AssertionError" message =" Expected values to be strictly equal:
37
37
38
38
-1 !== 0
@@ -41,29 +41,50 @@ Then I should have 0 cucumbers..............................................fail
41
41
42
42
-1 !== 0
43
43
44
- samples/examples-tables/examples-tables.feature:9
45
- samples/examples-tables/examples-tables.feature:21 ]]>
44
+ samples/examples-tables/examples-tables.feature:14
45
+ samples/examples-tables/examples-tables.feature:26 ]]>
46
46
</failure >
47
47
<system-out ><![CDATA[
48
48
Given there are 0 cucumbers.................................................passed
49
49
When I eat 1 cucumbers......................................................passed
50
50
Then I should have 0 cucumbers..............................................failed
51
51
]]> </system-out >
52
52
</testcase >
53
- <testcase classname =" Examples Tables" name =" Eating cucumbers - These are undefined because the value is not an {int} - Example #3.1" time =" 0.007" >
53
+ <testcase classname =" Examples Tables" name =" Eating cucumbers - These are undefined because the value is not an {int} - #3.1" time =" 0.007" >
54
54
<failure />
55
55
<system-out ><![CDATA[
56
56
Given there are 12 cucumbers................................................passed
57
57
When I eat banana cucumbers.................................................undefined
58
58
Then I should have 12 cucumbers.............................................skipped
59
59
]]> </system-out >
60
60
</testcase >
61
- <testcase classname =" Examples Tables" name =" Eating cucumbers - These are undefined because the value is not an {int} - Example #3.2" time =" 0.007" >
61
+ <testcase classname =" Examples Tables" name =" Eating cucumbers - These are undefined because the value is not an {int} - #3.2" time =" 0.007" >
62
62
<failure />
63
63
<system-out ><![CDATA[
64
64
Given there are 0 cucumbers.................................................passed
65
65
When I eat 1 cucumbers......................................................passed
66
66
Then I should have apple cucumbers..........................................undefined
67
67
]]> </system-out >
68
68
</testcase >
69
+ <testcase classname =" Examples Tables" name =" Eating cucumbers with < friends> friends - #1.1: Eating cucumbers with 11 friends" time =" 0.007" >
70
+ <system-out ><![CDATA[
71
+ Given there are 11 friends..................................................passed
72
+ When there are 12 cucumbers.................................................passed
73
+ Then each person can eat 1 cucumbers........................................passed
74
+ ]]> </system-out >
75
+ </testcase >
76
+ <testcase classname =" Examples Tables" name =" Eating cucumbers with < friends> friends - #1.2: Eating cucumbers with 1 friends" time =" 0.007" >
77
+ <system-out ><![CDATA[
78
+ Given there are 1 friends...................................................passed
79
+ When there are 4 cucumbers..................................................passed
80
+ Then each person can eat 2 cucumbers........................................passed
81
+ ]]> </system-out >
82
+ </testcase >
83
+ <testcase classname =" Examples Tables" name =" Eating cucumbers with < friends> friends - #1.3: Eating cucumbers with 0 friends" time =" 0.007" >
84
+ <system-out ><![CDATA[
85
+ Given there are 0 friends...................................................passed
86
+ When there are 4 cucumbers..................................................passed
87
+ Then each person can eat 4 cucumbers........................................passed
88
+ ]]> </system-out >
89
+ </testcase >
69
90
</testsuite >
0 commit comments