@@ -17,37 +17,37 @@ class CucumberTest extends CiVisibilityInstrumentationTest {
17
17
def " test #testcaseName" () {
18
18
runFeatures(features)
19
19
20
- assertSpansData(testcaseName, expectedTracesCount )
20
+ assertSpansData(testcaseName)
21
21
22
22
where :
23
- testcaseName | features | expectedTracesCount
24
- " test-succeed" | [" org/example/cucumber/calculator/basic_arithmetic.feature" ] | 2
25
- " test-scenario-outline-${ version()} " | [" org/example/cucumber/calculator/basic_arithmetic_with_examples.feature" ] | 5
26
- " test-failure" | [" org/example/cucumber/calculator/basic_arithmetic_failed.feature" ] | 2
23
+ testcaseName | features
24
+ " test-succeed" | [" org/example/cucumber/calculator/basic_arithmetic.feature" ]
25
+ " test-scenario-outline-${ version()} " | [" org/example/cucumber/calculator/basic_arithmetic_with_examples.feature" ]
26
+ " test-failure" | [" org/example/cucumber/calculator/basic_arithmetic_failed.feature" ]
27
27
" test-multiple-features-${ version()} " | [
28
28
" org/example/cucumber/calculator/basic_arithmetic.feature" ,
29
29
" org/example/cucumber/calculator/basic_arithmetic_failed.feature"
30
- ] | 3
31
- " test-name-with-brackets" | [" org/example/cucumber/calculator/name_with_brackets.feature" ] | 2
32
- " test-empty-name-${ version()} " | [" org/example/cucumber/calculator/empty_scenario_name.feature" ] | 2
30
+ ]
31
+ " test-name-with-brackets" | [" org/example/cucumber/calculator/name_with_brackets.feature" ]
32
+ " test-empty-name-${ version()} " | [" org/example/cucumber/calculator/empty_scenario_name.feature" ]
33
33
}
34
34
35
35
def " test ITR #testcaseName" () {
36
36
givenSkippableTests(skippedTests)
37
37
38
38
runFeatures(features)
39
39
40
- assertSpansData(testcaseName, expectedTracesCount )
40
+ assertSpansData(testcaseName)
41
41
42
42
where :
43
- testcaseName | features | expectedTracesCount | skippedTests
44
- " test-itr-skipping" | [" org/example/cucumber/calculator/basic_arithmetic.feature" ] | 2 | [
43
+ testcaseName | features | skippedTests
44
+ " test-itr-skipping" | [" org/example/cucumber/calculator/basic_arithmetic.feature" ] | [
45
45
new TestIdentifier (" classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic" , " Addition" , null )
46
46
]
47
- " test-itr-unskippable" | [" org/example/cucumber/calculator/basic_arithmetic_unskippable.feature" ] | 2 | [
47
+ " test-itr-unskippable" | [" org/example/cucumber/calculator/basic_arithmetic_unskippable.feature" ] | [
48
48
new TestIdentifier (" classpath:org/example/cucumber/calculator/basic_arithmetic_unskippable.feature:Basic Arithmetic" , " Addition" , null )
49
49
]
50
- " test-itr-unskippable-suite" | [" org/example/cucumber/calculator/basic_arithmetic_unskippable_suite.feature" ] | 2 | [
50
+ " test-itr-unskippable-suite" | [" org/example/cucumber/calculator/basic_arithmetic_unskippable_suite.feature" ] | [
51
51
new TestIdentifier (" classpath:org/example/cucumber/calculator/basic_arithmetic_unskippable_suite.feature:Basic Arithmetic" , " Addition" , null )
52
52
]
53
53
}
@@ -58,15 +58,15 @@ class CucumberTest extends CiVisibilityInstrumentationTest {
58
58
59
59
runFeatures(features)
60
60
61
- assertSpansData(testcaseName, expectedTracesCount )
61
+ assertSpansData(testcaseName)
62
62
63
63
where :
64
- testcaseName | features | expectedTracesCount | retriedTests
65
- " test-failure" | [" org/example/cucumber/calculator/basic_arithmetic_failed.feature" ] | 2 | []
66
- " test-retry-failure" | [" org/example/cucumber/calculator/basic_arithmetic_failed.feature" ] | 6 | [
64
+ testcaseName | features | retriedTests
65
+ " test-failure" | [" org/example/cucumber/calculator/basic_arithmetic_failed.feature" ] | []
66
+ " test-retry-failure" | [" org/example/cucumber/calculator/basic_arithmetic_failed.feature" ] | [
67
67
new TestIdentifier (" classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic" , " Addition" , null )
68
68
]
69
- " test-retry-scenario-outline-${ version()} " | [" org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature" ] | 5 | [
69
+ " test-retry-scenario-outline-${ version()} " | [" org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature" ] | [
70
70
new TestIdentifier (" classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples" , " Many additions" , null )
71
71
]
72
72
}
@@ -77,16 +77,16 @@ class CucumberTest extends CiVisibilityInstrumentationTest {
77
77
78
78
runFeatures(features)
79
79
80
- assertSpansData(testcaseName, expectedTracesCount )
80
+ assertSpansData(testcaseName)
81
81
82
82
where :
83
- testcaseName | features | expectedTracesCount | knownTestsList
84
- " test-efd-known-test" | [" org/example/cucumber/calculator/basic_arithmetic.feature" ] | 2 | [
83
+ testcaseName | features | knownTestsList
84
+ " test-efd-known-test" | [" org/example/cucumber/calculator/basic_arithmetic.feature" ] | [
85
85
new TestIdentifier (" classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic" , " Addition" , null )
86
86
]
87
- " test-efd-new-test" | [" org/example/cucumber/calculator/basic_arithmetic.feature" ] | 4 | []
88
- " test-efd-new-scenario-outline-${ version()} " | [" org/example/cucumber/calculator/basic_arithmetic_with_examples.feature" ] | 9 | []
89
- " test-efd-new-slow-test" | [" org/example/cucumber/calculator/basic_arithmetic_slow.feature" ] | 3 | []
87
+ " test-efd-new-test" | [" org/example/cucumber/calculator/basic_arithmetic.feature" ] | []
88
+ " test-efd-new-scenario-outline-${ version()} " | [" org/example/cucumber/calculator/basic_arithmetic_with_examples.feature" ] | []
89
+ " test-efd-new-slow-test" | [" org/example/cucumber/calculator/basic_arithmetic_slow.feature" ] | []
90
90
}
91
91
92
92
private String version () {
0 commit comments