From 65af249fd0856c5d77d9baccb2bbb7a91df1e50d Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Wed, 13 Sep 2023 12:28:22 -0500 Subject: [PATCH 01/24] Fix colored output --- src/writer/basic.rs | 13 ++++--------- src/writer/out.rs | 5 ++--- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/writer/basic.rs b/src/writer/basic.rs index 3369a5ce..ae5773e7 100644 --- a/src/writer/basic.rs +++ b/src/writer/basic.rs @@ -281,7 +281,6 @@ impl Basic { feature: &gherkin::Feature, ) -> io::Result<()> { let out = format!("{}: {}", feature.keyword, feature.name); - self.lines_to_clear += self.styles.lines_count(&out); self.output.write_line(&self.styles.ok(out)) } @@ -327,8 +326,6 @@ impl Basic { rule.name, indent = " ".repeat(self.indent) ); - self.lines_to_clear += self.styles.lines_count(&out); - self.indent += 2; self.output.write_line(&self.styles.ok(out)) } @@ -455,7 +452,6 @@ impl Basic { retries.current, retries.left + retries.current, ); - self.lines_to_clear += self.styles.lines_count(&out); self.output.write_line(&self.styles.retry(out)) } else { let out = format!( @@ -464,7 +460,6 @@ impl Basic { scenario.keyword, scenario.name, ); - self.lines_to_clear += self.styles.lines_count(&out); self.output.write_line(&self.styles.ok(out)) } } @@ -552,7 +547,7 @@ impl Basic { indent = " ".repeat(self.indent), ); self.lines_to_clear += self.styles.lines_count(&out); - self.write_line(&out)?; + self.output.write_line(&out)?; } Ok(()) } @@ -738,7 +733,7 @@ impl Basic { .unwrap_or_default(), )); - self.write_line(&format!("{step_keyword}{step_value}{diagnostics}")) + self.output.write_line(&format!("{step_keyword}{step_value}{diagnostics}")) } /// Outputs the [`Background`] [`Step`]'s @@ -827,7 +822,7 @@ impl Basic { indent = " ".repeat(self.indent.saturating_sub(2)), ); self.lines_to_clear += self.styles.lines_count(&out); - self.write_line(&out)?; + self.output.write_line(&out)?; } Ok(()) } @@ -1015,7 +1010,7 @@ impl Basic { .unwrap_or_default(), )); - self.write_line(&format!("{step_keyword}{step_value}{diagnostics}")) + self.output.write_line(&format!("{step_keyword}{step_value}{diagnostics}")) } } diff --git a/src/writer/out.rs b/src/writer/out.rs index c2fd1685..461fb031 100644 --- a/src/writer/out.rs +++ b/src/writer/out.rs @@ -254,12 +254,11 @@ pub trait WriteStrExt: io::Write { /// /// If this writer fails to write a special sequence. fn clear_last_lines(&mut self, n: usize) -> io::Result<()> { - self.move_cursor_up(n)?; for _ in 0..n { self.clear_line()?; - self.move_cursor_down(1)?; + self.move_cursor_up(1)?; } - self.move_cursor_up(n) + Ok(()) } /// Writes a special sequence into this writer clearing the last line. From aa6a405cc346ddea9ab8a1acc416064ff4481ddf Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Wed, 13 Sep 2023 12:41:05 -0500 Subject: [PATCH 02/24] Correction --- src/writer/basic.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/writer/basic.rs b/src/writer/basic.rs index ae5773e7..5f8c980b 100644 --- a/src/writer/basic.rs +++ b/src/writer/basic.rs @@ -326,6 +326,7 @@ impl Basic { rule.name, indent = " ".repeat(self.indent) ); + self.indent += 2; self.output.write_line(&self.styles.ok(out)) } From 2722167950d534459f9d87e766e824a44aa63190 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Wed, 13 Sep 2023 12:52:17 -0500 Subject: [PATCH 03/24] Correction --- src/writer/out.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/writer/out.rs b/src/writer/out.rs index 461fb031..8b293ade 100644 --- a/src/writer/out.rs +++ b/src/writer/out.rs @@ -250,13 +250,16 @@ pub trait WriteStrExt: io::Write { /// Writes a special sequence into this writer clearing the last `n` lines. /// + /// __Note:__ This method does not clear the current line, only the `n` + /// lines above it. + /// /// # Errors /// /// If this writer fails to write a special sequence. fn clear_last_lines(&mut self, n: usize) -> io::Result<()> { for _ in 0..n { - self.clear_line()?; self.move_cursor_up(1)?; + self.clear_line()?; } Ok(()) } From 4b09d08a21f49801e470ec3155bb3802438352e8 Mon Sep 17 00:00:00 2001 From: tyranron Date: Thu, 14 Sep 2023 14:49:29 +0300 Subject: [PATCH 04/24] Corrections [skip ci] --- src/writer/out.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/writer/out.rs b/src/writer/out.rs index 8b293ade..ec9976cf 100644 --- a/src/writer/out.rs +++ b/src/writer/out.rs @@ -250,8 +250,8 @@ pub trait WriteStrExt: io::Write { /// Writes a special sequence into this writer clearing the last `n` lines. /// - /// __Note:__ This method does not clear the current line, only the `n` - /// lines above it. + /// __NOTE:__ This method doesn't clear the current line, only the `n` lines + /// above it. /// /// # Errors /// From abcaef08e29b2fc9c7b530631cdf4afffab70571 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Wed, 20 Sep 2023 14:28:08 -0500 Subject: [PATCH 05/24] WIP [skip ci] --- tests/features/output/.feature.basic.out | 5 ++ tests/features/output/.feature.colored.out | 8 ++ .../{.feature.out => .feature.debug.out} | 2 +- .../output/ambiguous_step.feature.basic.out | 8 ++ .../output/ambiguous_step.feature.colored.out | 9 +++ ...e.out => ambiguous_step.feature.debug.out} | 2 +- .../output/background_rule.feature.basic.out | 7 ++ .../background_rule.feature.colored.out | 11 +++ ....out => background_rule.feature.debug.out} | 2 +- ...ckground_rule_background.feature.basic.out | 8 ++ ...ground_rule_background.feature.colored.out | 13 ++++ ...kground_rule_background.feature.debug.out} | 2 +- ..._rule_background_outline.feature.basic.out | 8 ++ ...ule_background_outline.feature.colored.out | 13 ++++ ...rule_background_outline.feature.debug.out} | 2 +- .../background_rule_outline.feature.basic.out | 7 ++ ...ackground_rule_outline.feature.colored.out | 11 +++ ...background_rule_outline.feature.debug.out} | 2 +- .../background_scenario.feature.basic.out | 6 ++ .../background_scenario.feature.colored.out | 10 +++ ... => background_scenario.feature.debug.out} | 2 +- ...kground_scenario_outline.feature.basic.out | 6 ++ ...round_scenario_outline.feature.colored.out | 10 +++ ...ground_scenario_outline.feature.debug.out} | 2 +- .../output/descriptions.feature.basic.out | 17 ++++ .../output/descriptions.feature.colored.out | 25 ++++++ ...ure.out => descriptions.feature.debug.out} | 2 +- ...on_with_allowed_keywords.feature.basic.out | 5 ++ ..._with_allowed_keywords.feature.colored.out | 8 ++ ...n_with_allowed_keywords.feature.debug.out} | 2 +- .../output/non_default_lang.feature.basic.out | 5 ++ .../non_default_lang.feature.colored.out | 8 ++ ...out => non_default_lang.feature.debug.out} | 2 +- .../output/parsing_failed.feature.basic.out | 1 + .../output/parsing_failed.feature.colored.out | 1 + ...e.out => parsing_failed.feature.debug.out} | 2 +- tests/features/output/rule.feature.basic.out | 6 ++ .../features/output/rule.feature.colored.out | 9 +++ ...ule.feature.out => rule.feature.debug.out} | 2 +- .../output/rule_background.feature.basic.out | 7 ++ .../rule_background.feature.colored.out | 11 +++ ....out => rule_background.feature.debug.out} | 2 +- .../rule_background_outline.feature.basic.out | 7 ++ ...ule_background_outline.feature.colored.out | 11 +++ ...rule_background_outline.feature.debug.out} | 2 +- .../output/rule_outline.feature.basic.out | 6 ++ .../output/rule_outline.feature.colored.out | 9 +++ ...ure.out => rule_outline.feature.debug.out} | 2 +- .../output/scenario.feature.basic.out | 5 ++ .../output/scenario.feature.colored.out | 8 ++ ...feature.out => scenario.feature.debug.out} | 2 +- .../output/scenario_outline.feature.basic.out | 5 ++ .../scenario_outline.feature.colored.out | 8 ++ ...out => scenario_outline.feature.debug.out} | 2 +- ...tline_adjacent_templates.feature.basic.out | 10 +++ ...ine_adjacent_templates.feature.colored.out | 12 +++ ...line_adjacent_templates.feature.debug.out} | 2 +- .../scenario_outline_table.feature.basic.out | 19 +++++ ...scenario_outline_table.feature.colored.out | 29 +++++++ ... scenario_outline_table.feature.debug.out} | 2 +- ...ine_with_basic_dosctring.feature.basic.out | 5 ++ ...e_with_basic_dosctring.feature.colored.out | 8 ++ ...ne_with_basic_dosctring.feature.debug.out} | 2 +- ..._with_expanded_dosctring.feature.basic.out | 5 ++ ...ith_expanded_dosctring.feature.colored.out | 8 ++ ...with_expanded_dosctring.feature.debug.out} | 2 +- ...e_with_multiple_examples.feature.basic.out | 13 ++++ ...with_multiple_examples.feature.colored.out | 17 ++++ ..._with_multiple_examples.feature.debug.out} | 2 +- ...enario_outline_with_tags.feature.basic.out | 5 ++ ...ario_outline_with_tags.feature.colored.out | 8 ++ ...nario_outline_with_tags.feature.debug.out} | 2 +- ...e_with_tags_and_comments.feature.basic.out | 5 ++ ...with_tags_and_comments.feature.colored.out | 8 ++ ..._with_tags_and_comments.feature.debug.out} | 2 +- ...unknown_scenario_outline.feature.basic.out | 1 + ...known_scenario_outline.feature.colored.out | 1 + ...nknown_scenario_outline.feature.debug.out} | 2 +- tests/output.rs | 78 ++++++++++++++----- 79 files changed, 541 insertions(+), 45 deletions(-) create mode 100644 tests/features/output/.feature.basic.out create mode 100644 tests/features/output/.feature.colored.out rename tests/features/output/{.feature.out => .feature.debug.out} (99%) create mode 100644 tests/features/output/ambiguous_step.feature.basic.out create mode 100644 tests/features/output/ambiguous_step.feature.colored.out rename tests/features/output/{ambiguous_step.feature.out => ambiguous_step.feature.debug.out} (99%) create mode 100644 tests/features/output/background_rule.feature.basic.out create mode 100644 tests/features/output/background_rule.feature.colored.out rename tests/features/output/{background_rule.feature.out => background_rule.feature.debug.out} (99%) create mode 100644 tests/features/output/background_rule_background.feature.basic.out create mode 100644 tests/features/output/background_rule_background.feature.colored.out rename tests/features/output/{background_rule_background.feature.out => background_rule_background.feature.debug.out} (99%) create mode 100644 tests/features/output/background_rule_background_outline.feature.basic.out create mode 100644 tests/features/output/background_rule_background_outline.feature.colored.out rename tests/features/output/{background_rule_background_outline.feature.out => background_rule_background_outline.feature.debug.out} (99%) create mode 100644 tests/features/output/background_rule_outline.feature.basic.out create mode 100644 tests/features/output/background_rule_outline.feature.colored.out rename tests/features/output/{background_rule_outline.feature.out => background_rule_outline.feature.debug.out} (99%) create mode 100644 tests/features/output/background_scenario.feature.basic.out create mode 100644 tests/features/output/background_scenario.feature.colored.out rename tests/features/output/{background_scenario.feature.out => background_scenario.feature.debug.out} (99%) create mode 100644 tests/features/output/background_scenario_outline.feature.basic.out create mode 100644 tests/features/output/background_scenario_outline.feature.colored.out rename tests/features/output/{background_scenario_outline.feature.out => background_scenario_outline.feature.debug.out} (99%) create mode 100644 tests/features/output/descriptions.feature.basic.out create mode 100644 tests/features/output/descriptions.feature.colored.out rename tests/features/output/{descriptions.feature.out => descriptions.feature.debug.out} (99%) create mode 100644 tests/features/output/feature_description_with_allowed_keywords.feature.basic.out create mode 100644 tests/features/output/feature_description_with_allowed_keywords.feature.colored.out rename tests/features/output/{feature_description_with_allowed_keywords.feature.out => feature_description_with_allowed_keywords.feature.debug.out} (99%) create mode 100644 tests/features/output/non_default_lang.feature.basic.out create mode 100644 tests/features/output/non_default_lang.feature.colored.out rename tests/features/output/{non_default_lang.feature.out => non_default_lang.feature.debug.out} (99%) create mode 100644 tests/features/output/parsing_failed.feature.basic.out create mode 100644 tests/features/output/parsing_failed.feature.colored.out rename tests/features/output/{parsing_failed.feature.out => parsing_failed.feature.debug.out} (92%) create mode 100644 tests/features/output/rule.feature.basic.out create mode 100644 tests/features/output/rule.feature.colored.out rename tests/features/output/{rule.feature.out => rule.feature.debug.out} (99%) create mode 100644 tests/features/output/rule_background.feature.basic.out create mode 100644 tests/features/output/rule_background.feature.colored.out rename tests/features/output/{rule_background.feature.out => rule_background.feature.debug.out} (99%) create mode 100644 tests/features/output/rule_background_outline.feature.basic.out create mode 100644 tests/features/output/rule_background_outline.feature.colored.out rename tests/features/output/{rule_background_outline.feature.out => rule_background_outline.feature.debug.out} (99%) create mode 100644 tests/features/output/rule_outline.feature.basic.out create mode 100644 tests/features/output/rule_outline.feature.colored.out rename tests/features/output/{rule_outline.feature.out => rule_outline.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario.feature.basic.out create mode 100644 tests/features/output/scenario.feature.colored.out rename tests/features/output/{scenario.feature.out => scenario.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario_outline.feature.basic.out create mode 100644 tests/features/output/scenario_outline.feature.colored.out rename tests/features/output/{scenario_outline.feature.out => scenario_outline.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario_outline_adjacent_templates.feature.basic.out create mode 100644 tests/features/output/scenario_outline_adjacent_templates.feature.colored.out rename tests/features/output/{scenario_outline_adjacent_templates.feature.out => scenario_outline_adjacent_templates.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario_outline_table.feature.basic.out create mode 100644 tests/features/output/scenario_outline_table.feature.colored.out rename tests/features/output/{scenario_outline_table.feature.out => scenario_outline_table.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario_outline_with_basic_dosctring.feature.basic.out create mode 100644 tests/features/output/scenario_outline_with_basic_dosctring.feature.colored.out rename tests/features/output/{scenario_outline_with_basic_dosctring.feature.out => scenario_outline_with_basic_dosctring.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario_outline_with_expanded_dosctring.feature.basic.out create mode 100644 tests/features/output/scenario_outline_with_expanded_dosctring.feature.colored.out rename tests/features/output/{scenario_outline_with_expanded_dosctring.feature.out => scenario_outline_with_expanded_dosctring.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario_outline_with_multiple_examples.feature.basic.out create mode 100644 tests/features/output/scenario_outline_with_multiple_examples.feature.colored.out rename tests/features/output/{scenario_outline_with_multiple_examples.feature.out => scenario_outline_with_multiple_examples.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario_outline_with_tags.feature.basic.out create mode 100644 tests/features/output/scenario_outline_with_tags.feature.colored.out rename tests/features/output/{scenario_outline_with_tags.feature.out => scenario_outline_with_tags.feature.debug.out} (99%) create mode 100644 tests/features/output/scenario_outline_with_tags_and_comments.feature.basic.out create mode 100644 tests/features/output/scenario_outline_with_tags_and_comments.feature.colored.out rename tests/features/output/{scenario_outline_with_tags_and_comments.feature.out => scenario_outline_with_tags_and_comments.feature.debug.out} (99%) create mode 100644 tests/features/output/unknown_scenario_outline.feature.basic.out create mode 100644 tests/features/output/unknown_scenario_outline.feature.colored.out rename tests/features/output/{unknown_scenario_outline.feature.out => unknown_scenario_outline.feature.debug.out} (92%) diff --git a/tests/features/output/.feature.basic.out b/tests/features/output/.feature.basic.out new file mode 100644 index 00000000..31ad5252 --- /dev/null +++ b/tests/features/output/.feature.basic.out @@ -0,0 +1,5 @@ +Feature: output + Scenario: output + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/.feature.colored.out b/tests/features/output/.feature.colored.out new file mode 100644 index 00000000..40090f3f --- /dev/null +++ b/tests/features/output/.feature.colored.out @@ -0,0 +1,8 @@ +Feature: output + Scenario: output + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/.feature.out b/tests/features/output/.feature.debug.out similarity index 99% rename from tests/features/output/.feature.out rename to tests/features/output/.feature.debug.out index a8bb8394..bb3dd643 100644 --- a/tests/features/output/.feature.out +++ b/tests/features/output/.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/ambiguous_step.feature.basic.out b/tests/features/output/ambiguous_step.feature.basic.out new file mode 100644 index 00000000..02112486 --- /dev/null +++ b/tests/features/output/ambiguous_step.feature.basic.out @@ -0,0 +1,8 @@ +Feature: ambiguous + Scenario: ambiguous + ✘ Given foo is 0 ambiguous + Step failed: + Defined: tests/features/output/ambiguous_step.feature:3:5 + Step match is ambiguous: Possible matches: + foo is (\d+) ambiguous --> tests/output.rs:21:1 + foo is (\d+) --> tests/output.rs:13:1 diff --git a/tests/features/output/ambiguous_step.feature.colored.out b/tests/features/output/ambiguous_step.feature.colored.out new file mode 100644 index 00000000..f2c4f170 --- /dev/null +++ b/tests/features/output/ambiguous_step.feature.colored.out @@ -0,0 +1,9 @@ +Feature: ambiguous + Scenario: ambiguous + Given foo is 0 ambiguous +  ✘ Given foo is 0 ambiguous + Step failed: + Defined: tests/features/output/ambiguous_step.feature:3:5 + Step match is ambiguous: Possible matches: + foo is (\d+) --> tests/output.rs:13:1 + foo is (\d+) ambiguous --> tests/output.rs:21:1 diff --git a/tests/features/output/ambiguous_step.feature.out b/tests/features/output/ambiguous_step.feature.debug.out similarity index 99% rename from tests/features/output/ambiguous_step.feature.out rename to tests/features/output/ambiguous_step.feature.debug.out index 37a765e7..24733ed1 100644 --- a/tests/features/output/ambiguous_step.feature.out +++ b/tests/features/output/ambiguous_step.feature.debug.out @@ -6,4 +6,4 @@ Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, back Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }, Failed(None, None, None, AmbiguousMatch(AmbiguousMatchError { possible_matches: [(HashableRegex(Regex("foo is (\\d+)")), Some(Location { line: 13, column: 1 })), (HashableRegex(Regex("foo is (\\d+) ambiguous")), Some(Location { line: 21, column: 1 }))] }))), retries: None })) Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/background_rule.feature.basic.out b/tests/features/output/background_rule.feature.basic.out new file mode 100644 index 00000000..e3a39108 --- /dev/null +++ b/tests/features/output/background_rule.feature.basic.out @@ -0,0 +1,7 @@ +Feature: output +Rule: output + Scenario: output + ✔> Given foo is 0 + ✔ Given foo is 1 + ✔ When foo is 2 + ✔ Then foo is 3 diff --git a/tests/features/output/background_rule.feature.colored.out b/tests/features/output/background_rule.feature.colored.out new file mode 100644 index 00000000..b0f0a68f --- /dev/null +++ b/tests/features/output/background_rule.feature.colored.out @@ -0,0 +1,11 @@ +Feature: output +Rule: output + Scenario: output + > Given foo is 0 +  ✔> Given foo is 0 + Given foo is 1 +  ✔ Given foo is 1 + When foo is 2 +  ✔ When foo is 2 + Then foo is 3 +  ✔ Then foo is 3 diff --git a/tests/features/output/background_rule.feature.out b/tests/features/output/background_rule.feature.debug.out similarity index 99% rename from tests/features/output/background_rule.feature.out rename to tests/features/output/background_rule.feature.debug.out index 6a2fa0d0..b9041742 100644 --- a/tests/features/output/background_rule.feature.out +++ b/tests/features/output/background_rule.feature.debug.out @@ -14,4 +14,4 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Finished)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/background_rule_background.feature.basic.out b/tests/features/output/background_rule_background.feature.basic.out new file mode 100644 index 00000000..8fdbd489 --- /dev/null +++ b/tests/features/output/background_rule_background.feature.basic.out @@ -0,0 +1,8 @@ +Feature: output +Rule: output + Scenario: output + ✔> Given foo is 0 + ✔> Given foo is 1 + ✔ Given foo is 2 + ✔ When foo is 3 + ✔ Then foo is 4 diff --git a/tests/features/output/background_rule_background.feature.colored.out b/tests/features/output/background_rule_background.feature.colored.out new file mode 100644 index 00000000..d22b3927 --- /dev/null +++ b/tests/features/output/background_rule_background.feature.colored.out @@ -0,0 +1,13 @@ +Feature: output +Rule: output + Scenario: output + > Given foo is 0 +  ✔> Given foo is 0 + > Given foo is 1 +  ✔> Given foo is 1 + Given foo is 2 +  ✔ Given foo is 2 + When foo is 3 +  ✔ When foo is 3 + Then foo is 4 +  ✔ Then foo is 4 diff --git a/tests/features/output/background_rule_background.feature.out b/tests/features/output/background_rule_background.feature.debug.out similarity index 99% rename from tests/features/output/background_rule_background.feature.out rename to tests/features/output/background_rule_background.feature.debug.out index 123007c4..495a9757 100644 --- a/tests/features/output/background_rule_background.feature.out +++ b/tests/features/output/background_rule_background.feature.debug.out @@ -16,4 +16,4 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Finished)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/background_rule_background_outline.feature.basic.out b/tests/features/output/background_rule_background_outline.feature.basic.out new file mode 100644 index 00000000..45ab00bc --- /dev/null +++ b/tests/features/output/background_rule_background_outline.feature.basic.out @@ -0,0 +1,8 @@ +Feature: Outline +Rule: outline + Scenario Outline: foo 2 + ✔> Given foo is 0 + ✔> Given foo is 1 + ✔ Given foo is 2 + ✔ When foo is 3 + ✔ Then foo is 4 diff --git a/tests/features/output/background_rule_background_outline.feature.colored.out b/tests/features/output/background_rule_background_outline.feature.colored.out new file mode 100644 index 00000000..8a1b92ac --- /dev/null +++ b/tests/features/output/background_rule_background_outline.feature.colored.out @@ -0,0 +1,13 @@ +Feature: Outline +Rule: outline + Scenario Outline: foo 2 + > Given foo is 0 +  ✔> Given foo is 0 + > Given foo is 1 +  ✔> Given foo is 1 + Given foo is 2 +  ✔ Given foo is 2 + When foo is 3 +  ✔ When foo is 3 + Then foo is 4 +  ✔ Then foo is 4 diff --git a/tests/features/output/background_rule_background_outline.feature.out b/tests/features/output/background_rule_background_outline.feature.debug.out similarity index 99% rename from tests/features/output/background_rule_background_outline.feature.out rename to tests/features/output/background_rule_background_outline.feature.debug.out index 468c21a4..e3719dc4 100644 --- a/tests/features/output/background_rule_background_outline.feature.out +++ b/tests/features/output/background_rule_background_outline.feature.debug.out @@ -16,4 +16,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Finished)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/background_rule_outline.feature.basic.out b/tests/features/output/background_rule_outline.feature.basic.out new file mode 100644 index 00000000..b5ac33d5 --- /dev/null +++ b/tests/features/output/background_rule_outline.feature.basic.out @@ -0,0 +1,7 @@ +Feature: Outline +Rule: outline + Scenario Outline: foo + ✔> Given foo is 0 + ✔ Given foo is 1 + ✔ When foo is 2 + ✔ Then foo is 3 diff --git a/tests/features/output/background_rule_outline.feature.colored.out b/tests/features/output/background_rule_outline.feature.colored.out new file mode 100644 index 00000000..d3a58172 --- /dev/null +++ b/tests/features/output/background_rule_outline.feature.colored.out @@ -0,0 +1,11 @@ +Feature: Outline +Rule: outline + Scenario Outline: foo + > Given foo is 0 +  ✔> Given foo is 0 + Given foo is 1 +  ✔ Given foo is 1 + When foo is 2 +  ✔ When foo is 2 + Then foo is 3 +  ✔ Then foo is 3 diff --git a/tests/features/output/background_rule_outline.feature.out b/tests/features/output/background_rule_outline.feature.debug.out similarity index 99% rename from tests/features/output/background_rule_outline.feature.out rename to tests/features/output/background_rule_outline.feature.debug.out index 74297c82..8cafee83 100644 --- a/tests/features/output/background_rule_outline.feature.out +++ b/tests/features/output/background_rule_outline.feature.debug.out @@ -14,4 +14,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Finished)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/background_scenario.feature.basic.out b/tests/features/output/background_scenario.feature.basic.out new file mode 100644 index 00000000..78bbd87d --- /dev/null +++ b/tests/features/output/background_scenario.feature.basic.out @@ -0,0 +1,6 @@ +Feature: output + Scenario: output + ✔> Given foo is 0 + ✔ Given foo is 1 + ✔ When foo is 2 + ✔ Then foo is 3 diff --git a/tests/features/output/background_scenario.feature.colored.out b/tests/features/output/background_scenario.feature.colored.out new file mode 100644 index 00000000..a972c454 --- /dev/null +++ b/tests/features/output/background_scenario.feature.colored.out @@ -0,0 +1,10 @@ +Feature: output + Scenario: output + > Given foo is 0 +  ✔> Given foo is 0 + Given foo is 1 +  ✔ Given foo is 1 + When foo is 2 +  ✔ When foo is 2 + Then foo is 3 +  ✔ Then foo is 3 diff --git a/tests/features/output/background_scenario.feature.out b/tests/features/output/background_scenario.feature.debug.out similarity index 99% rename from tests/features/output/background_scenario.feature.out rename to tests/features/output/background_scenario.feature.debug.out index 401a13d4..117500c1 100644 --- a/tests/features/output/background_scenario.feature.out +++ b/tests/features/output/background_scenario.feature.debug.out @@ -12,4 +12,4 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/background_scenario_outline.feature.basic.out b/tests/features/output/background_scenario_outline.feature.basic.out new file mode 100644 index 00000000..e2c95144 --- /dev/null +++ b/tests/features/output/background_scenario_outline.feature.basic.out @@ -0,0 +1,6 @@ +Feature: Outline + Scenario Outline: foo + ✔> Given foo is 0 + ✔ Given foo is 1 + ✔ When foo is 2 + ✔ Then foo is 3 diff --git a/tests/features/output/background_scenario_outline.feature.colored.out b/tests/features/output/background_scenario_outline.feature.colored.out new file mode 100644 index 00000000..da049536 --- /dev/null +++ b/tests/features/output/background_scenario_outline.feature.colored.out @@ -0,0 +1,10 @@ +Feature: Outline + Scenario Outline: foo + > Given foo is 0 +  ✔> Given foo is 0 + Given foo is 1 +  ✔ Given foo is 1 + When foo is 2 +  ✔ When foo is 2 + Then foo is 3 +  ✔ Then foo is 3 diff --git a/tests/features/output/background_scenario_outline.feature.out b/tests/features/output/background_scenario_outline.feature.debug.out similarity index 99% rename from tests/features/output/background_scenario_outline.feature.out rename to tests/features/output/background_scenario_outline.feature.debug.out index 92863d8d..ee928e69 100644 --- a/tests/features/output/background_scenario_outline.feature.out +++ b/tests/features/output/background_scenario_outline.feature.debug.out @@ -12,4 +12,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/descriptions.feature.basic.out b/tests/features/output/descriptions.feature.basic.out new file mode 100644 index 00000000..d4e29fad --- /dev/null +++ b/tests/features/output/descriptions.feature.basic.out @@ -0,0 +1,17 @@ +Feature: Descriptions everywhere + Scenario: two lines + ✔ Given foo is 0 + Scenario: without indentation + ✔ Given foo is 0 + Scenario: empty lines in the middle + ✔ Given foo is 0 + Scenario: empty lines around + ✔ Given foo is 0 + Scenario: comment after description + ✔ Given foo is 0 + Scenario: comment right after description + ✔ Given foo is 0 + Scenario: description with escaped docstring separator + ✔ Given foo is 0 + Scenario Outline: scenario outline with a description + ✔ Given foo is 0 diff --git a/tests/features/output/descriptions.feature.colored.out b/tests/features/output/descriptions.feature.colored.out new file mode 100644 index 00000000..385ec81d --- /dev/null +++ b/tests/features/output/descriptions.feature.colored.out @@ -0,0 +1,25 @@ +Feature: Descriptions everywhere + Scenario: two lines + Given foo is 0 +  ✔ Given foo is 0 + Scenario: without indentation + Given foo is 0 +  ✔ Given foo is 0 + Scenario: empty lines in the middle + Given foo is 0 +  ✔ Given foo is 0 + Scenario: empty lines around + Given foo is 0 +  ✔ Given foo is 0 + Scenario: comment after description + Given foo is 0 +  ✔ Given foo is 0 + Scenario: comment right after description + Given foo is 0 +  ✔ Given foo is 0 + Scenario: description with escaped docstring separator + Given foo is 0 +  ✔ Given foo is 0 + Scenario Outline: scenario outline with a description + Given foo is 0 +  ✔ Given foo is 0 diff --git a/tests/features/output/descriptions.feature.out b/tests/features/output/descriptions.feature.debug.out similarity index 99% rename from tests/features/output/descriptions.feature.out rename to tests/features/output/descriptions.feature.debug.out index bfb26cab..464e6f9b 100644 --- a/tests/features/output/descriptions.feature.out +++ b/tests/features/output/descriptions.feature.debug.out @@ -34,4 +34,4 @@ Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", descripti Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/feature_description_with_allowed_keywords.feature.basic.out b/tests/features/output/feature_description_with_allowed_keywords.feature.basic.out new file mode 100644 index 00000000..31ad5252 --- /dev/null +++ b/tests/features/output/feature_description_with_allowed_keywords.feature.basic.out @@ -0,0 +1,5 @@ +Feature: output + Scenario: output + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/feature_description_with_allowed_keywords.feature.colored.out b/tests/features/output/feature_description_with_allowed_keywords.feature.colored.out new file mode 100644 index 00000000..40090f3f --- /dev/null +++ b/tests/features/output/feature_description_with_allowed_keywords.feature.colored.out @@ -0,0 +1,8 @@ +Feature: output + Scenario: output + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/feature_description_with_allowed_keywords.feature.out b/tests/features/output/feature_description_with_allowed_keywords.feature.debug.out similarity index 99% rename from tests/features/output/feature_description_with_allowed_keywords.feature.out rename to tests/features/output/feature_description_with_allowed_keywords.feature.debug.out index b6689e02..efffdf43 100644 --- a/tests/features/output/feature_description_with_allowed_keywords.feature.out +++ b/tests/features/output/feature_description_with_allowed_keywords.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdow Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/non_default_lang.feature.basic.out b/tests/features/output/non_default_lang.feature.basic.out new file mode 100644 index 00000000..ede031bf --- /dev/null +++ b/tests/features/output/non_default_lang.feature.basic.out @@ -0,0 +1,5 @@ +Egenskap: output + Eksempel: output + ✔ Gitt foo is 0 + ✔ Når foo is 1 + ✔ Så foo is 2 diff --git a/tests/features/output/non_default_lang.feature.colored.out b/tests/features/output/non_default_lang.feature.colored.out new file mode 100644 index 00000000..a7da81d8 --- /dev/null +++ b/tests/features/output/non_default_lang.feature.colored.out @@ -0,0 +1,8 @@ +Egenskap: output + Eksempel: output + Gitt foo is 0 +  ✔ Gitt foo is 0 + Når foo is 1 +  ✔ Når foo is 1 + Så foo is 2 +  ✔ Så foo is 2 diff --git a/tests/features/output/non_default_lang.feature.out b/tests/features/output/non_default_lang.feature.debug.out similarity index 99% rename from tests/features/output/non_default_lang.feature.out rename to tests/features/output/non_default_lang.feature.debug.out index abe19023..a7609535 100644 --- a/tests/features/output/non_default_lang.feature.out +++ b/tests/features/output/non_default_lang.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Egenskap", name: "output", description: None, backgr Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/parsing_failed.feature.basic.out b/tests/features/output/parsing_failed.feature.basic.out new file mode 100644 index 00000000..6af0916d --- /dev/null +++ b/tests/features/output/parsing_failed.feature.basic.out @@ -0,0 +1 @@ +Failed to parse: Failed to parse feature: Could not parse feature file: /Users/mihailbasilov/projects/cucumber/tests/features/output/parsing_failed.feature diff --git a/tests/features/output/parsing_failed.feature.colored.out b/tests/features/output/parsing_failed.feature.colored.out new file mode 100644 index 00000000..86967fc4 --- /dev/null +++ b/tests/features/output/parsing_failed.feature.colored.out @@ -0,0 +1 @@ +Failed to parse: Failed to parse feature: Could not parse feature file: /Users/mihailbasilov/projects/cucumber/tests/features/output/parsing_failed.feature diff --git a/tests/features/output/parsing_failed.feature.out b/tests/features/output/parsing_failed.feature.debug.out similarity index 92% rename from tests/features/output/parsing_failed.feature.out rename to tests/features/output/parsing_failed.feature.debug.out index f8a8be92..cefaea8a 100644 --- a/tests/features/output/parsing_failed.feature.out +++ b/tests/features/output/parsing_failed.feature.debug.out @@ -1,4 +1,4 @@ ParsingError ParsingFinished { features: 0, rules: 0, scenarios: 0, steps: 0, parser_errors: 1 } Started -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/rule.feature.basic.out b/tests/features/output/rule.feature.basic.out new file mode 100644 index 00000000..dd276185 --- /dev/null +++ b/tests/features/output/rule.feature.basic.out @@ -0,0 +1,6 @@ +Feature: output +Rule: output + Scenario: output + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/rule.feature.colored.out b/tests/features/output/rule.feature.colored.out new file mode 100644 index 00000000..ef17ef6c --- /dev/null +++ b/tests/features/output/rule.feature.colored.out @@ -0,0 +1,9 @@ +Feature: output +Rule: output + Scenario: output + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/rule.feature.out b/tests/features/output/rule.feature.debug.out similarity index 99% rename from tests/features/output/rule.feature.out rename to tests/features/output/rule.feature.debug.out index cc0cb317..be7c4414 100644 --- a/tests/features/output/rule.feature.out +++ b/tests/features/output/rule.feature.debug.out @@ -12,4 +12,4 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Finished)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/rule_background.feature.basic.out b/tests/features/output/rule_background.feature.basic.out new file mode 100644 index 00000000..e3a39108 --- /dev/null +++ b/tests/features/output/rule_background.feature.basic.out @@ -0,0 +1,7 @@ +Feature: output +Rule: output + Scenario: output + ✔> Given foo is 0 + ✔ Given foo is 1 + ✔ When foo is 2 + ✔ Then foo is 3 diff --git a/tests/features/output/rule_background.feature.colored.out b/tests/features/output/rule_background.feature.colored.out new file mode 100644 index 00000000..b0f0a68f --- /dev/null +++ b/tests/features/output/rule_background.feature.colored.out @@ -0,0 +1,11 @@ +Feature: output +Rule: output + Scenario: output + > Given foo is 0 +  ✔> Given foo is 0 + Given foo is 1 +  ✔ Given foo is 1 + When foo is 2 +  ✔ When foo is 2 + Then foo is 3 +  ✔ Then foo is 3 diff --git a/tests/features/output/rule_background.feature.out b/tests/features/output/rule_background.feature.debug.out similarity index 99% rename from tests/features/output/rule_background.feature.out rename to tests/features/output/rule_background.feature.debug.out index 49632b57..f549b8dc 100644 --- a/tests/features/output/rule_background.feature.out +++ b/tests/features/output/rule_background.feature.debug.out @@ -14,4 +14,4 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Finished)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/rule_background_outline.feature.basic.out b/tests/features/output/rule_background_outline.feature.basic.out new file mode 100644 index 00000000..b5ac33d5 --- /dev/null +++ b/tests/features/output/rule_background_outline.feature.basic.out @@ -0,0 +1,7 @@ +Feature: Outline +Rule: outline + Scenario Outline: foo + ✔> Given foo is 0 + ✔ Given foo is 1 + ✔ When foo is 2 + ✔ Then foo is 3 diff --git a/tests/features/output/rule_background_outline.feature.colored.out b/tests/features/output/rule_background_outline.feature.colored.out new file mode 100644 index 00000000..d3a58172 --- /dev/null +++ b/tests/features/output/rule_background_outline.feature.colored.out @@ -0,0 +1,11 @@ +Feature: Outline +Rule: outline + Scenario Outline: foo + > Given foo is 0 +  ✔> Given foo is 0 + Given foo is 1 +  ✔ Given foo is 1 + When foo is 2 +  ✔ When foo is 2 + Then foo is 3 +  ✔ Then foo is 3 diff --git a/tests/features/output/rule_background_outline.feature.out b/tests/features/output/rule_background_outline.feature.debug.out similarity index 99% rename from tests/features/output/rule_background_outline.feature.out rename to tests/features/output/rule_background_outline.feature.debug.out index 8f30ce38..6ff010bf 100644 --- a/tests/features/output/rule_background_outline.feature.out +++ b/tests/features/output/rule_background_outline.feature.debug.out @@ -14,4 +14,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Finished)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/rule_outline.feature.basic.out b/tests/features/output/rule_outline.feature.basic.out new file mode 100644 index 00000000..bbf29b6c --- /dev/null +++ b/tests/features/output/rule_outline.feature.basic.out @@ -0,0 +1,6 @@ +Feature: Outline +Rule: them all + Scenario Outline: foo + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/rule_outline.feature.colored.out b/tests/features/output/rule_outline.feature.colored.out new file mode 100644 index 00000000..800f1b84 --- /dev/null +++ b/tests/features/output/rule_outline.feature.colored.out @@ -0,0 +1,9 @@ +Feature: Outline +Rule: them all + Scenario Outline: foo + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/rule_outline.feature.out b/tests/features/output/rule_outline.feature.debug.out similarity index 99% rename from tests/features/output/rule_outline.feature.out rename to tests/features/output/rule_outline.feature.debug.out index bda59b6e..a5eb750b 100644 --- a/tests/features/output/rule_outline.feature.out +++ b/tests/features/output/rule_outline.feature.debug.out @@ -12,4 +12,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Finished)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario.feature.basic.out b/tests/features/output/scenario.feature.basic.out new file mode 100644 index 00000000..31ad5252 --- /dev/null +++ b/tests/features/output/scenario.feature.basic.out @@ -0,0 +1,5 @@ +Feature: output + Scenario: output + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/scenario.feature.colored.out b/tests/features/output/scenario.feature.colored.out new file mode 100644 index 00000000..40090f3f --- /dev/null +++ b/tests/features/output/scenario.feature.colored.out @@ -0,0 +1,8 @@ +Feature: output + Scenario: output + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/scenario.feature.out b/tests/features/output/scenario.feature.debug.out similarity index 99% rename from tests/features/output/scenario.feature.out rename to tests/features/output/scenario.feature.debug.out index a8bb8394..bb3dd643 100644 --- a/tests/features/output/scenario.feature.out +++ b/tests/features/output/scenario.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline.feature.basic.out b/tests/features/output/scenario_outline.feature.basic.out new file mode 100644 index 00000000..1ff670a4 --- /dev/null +++ b/tests/features/output/scenario_outline.feature.basic.out @@ -0,0 +1,5 @@ +Feature: Outline + Scenario Outline: foo + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline.feature.colored.out b/tests/features/output/scenario_outline.feature.colored.out new file mode 100644 index 00000000..34f5df45 --- /dev/null +++ b/tests/features/output/scenario_outline.feature.colored.out @@ -0,0 +1,8 @@ +Feature: Outline + Scenario Outline: foo + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline.feature.out b/tests/features/output/scenario_outline.feature.debug.out similarity index 99% rename from tests/features/output/scenario_outline.feature.out rename to tests/features/output/scenario_outline.feature.debug.out index 555e7d79..d7d8b3de 100644 --- a/tests/features/output/scenario_outline.feature.out +++ b/tests/features/output/scenario_outline.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_adjacent_templates.feature.basic.out b/tests/features/output/scenario_outline_adjacent_templates.feature.basic.out new file mode 100644 index 00000000..8ac84f52 --- /dev/null +++ b/tests/features/output/scenario_outline_adjacent_templates.feature.basic.out @@ -0,0 +1,10 @@ +Feature: Outline + Scenario Outline: foo + ✔ Given foo is 00 + ✘ When foo is 101 + Step failed: + Defined: tests/features/output/scenario_outline_adjacent_templates.feature:5:5 + Matched: tests/output.rs:14:1 + Step panicked. Captured output: assertion failed: `(left == right)` + left: `1`, + right: `101` diff --git a/tests/features/output/scenario_outline_adjacent_templates.feature.colored.out b/tests/features/output/scenario_outline_adjacent_templates.feature.colored.out new file mode 100644 index 00000000..f548d534 --- /dev/null +++ b/tests/features/output/scenario_outline_adjacent_templates.feature.colored.out @@ -0,0 +1,12 @@ +Feature: Outline + Scenario Outline: foo + Given foo is 00 +  ✔ Given foo is 00 + When foo is 101 +  ✘ When foo is 101 + Step failed: + Defined: tests/features/output/scenario_outline_adjacent_templates.feature:5:5 + Matched: tests/output.rs:14:1 + Step panicked. Captured output: assertion failed: `(left == right)` + left: `1`, + right: `101` diff --git a/tests/features/output/scenario_outline_adjacent_templates.feature.out b/tests/features/output/scenario_outline_adjacent_templates.feature.debug.out similarity index 99% rename from tests/features/output/scenario_outline_adjacent_templates.feature.out rename to tests/features/output/scenario_outline_adjacent_templates.feature.debug.out index 28bd942c..c10ab094 100644 --- a/tests/features/output/scenario_outline_adjacent_templates.feature.out +++ b/tests/features/output/scenario_outline_adjacent_templates.feature.debug.out @@ -8,4 +8,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..10, 1: 7..10} })), Some(Location { line: 14, column: 1 }), Some(World(1)), Panic(Any { .. }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_table.feature.basic.out b/tests/features/output/scenario_outline_table.feature.basic.out new file mode 100644 index 00000000..8ad5dd6f --- /dev/null +++ b/tests/features/output/scenario_outline_table.feature.basic.out @@ -0,0 +1,19 @@ +Feature: Outline + Scenario Outline: foo + ✔ Given foo is 0 + | key | value | + | 1 | 0 | + | 2 | 1 | + ✔ When foo is 1 + ✔ Then foo is 2 + Scenario Outline: foo + ✘ Given foo is 3 + | key | value | + | 1 | 3 | + | 2 | 4 | + Step failed: + Defined: tests/features/output/scenario_outline_table.feature:4:5 + Matched: tests/output.rs:13:1 + Step panicked. Captured output: assertion failed: `(left == right)` + left: `0`, + right: `3` diff --git a/tests/features/output/scenario_outline_table.feature.colored.out b/tests/features/output/scenario_outline_table.feature.colored.out new file mode 100644 index 00000000..11024bbd --- /dev/null +++ b/tests/features/output/scenario_outline_table.feature.colored.out @@ -0,0 +1,29 @@ +Feature: Outline + Scenario Outline: foo + Given foo is 0 + | key | value | + | 1 | 0 | + | 2 | 1 | +     ✔ Given foo is 0 + | key | value | + | 1 | 0 | + | 2 | 1 | + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 + Scenario Outline: foo + Given foo is 3 + | key | value | + | 1 | 3 | + | 2 | 4 | +     ✘ Given foo is 3 + | key | value | + | 1 | 3 | + | 2 | 4 | + Step failed: + Defined: tests/features/output/scenario_outline_table.feature:4:5 + Matched: tests/output.rs:13:1 + Step panicked. Captured output: assertion failed: `(left == right)` + left: `0`, + right: `3` diff --git a/tests/features/output/scenario_outline_table.feature.out b/tests/features/output/scenario_outline_table.feature.debug.out similarity index 99% rename from tests/features/output/scenario_outline_table.feature.out rename to tests/features/output/scenario_outline_table.feature.debug.out index 887e8681..571b8a8b 100644 --- a/tests/features/output/scenario_outline_table.feature.out +++ b/tests/features/output/scenario_outline_table.feature.debug.out @@ -14,4 +14,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} })), Some(Location { line: 13, column: 1 }), Some(World(0)), Panic(Any { .. }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_basic_dosctring.feature.basic.out b/tests/features/output/scenario_outline_with_basic_dosctring.feature.basic.out new file mode 100644 index 00000000..1ff670a4 --- /dev/null +++ b/tests/features/output/scenario_outline_with_basic_dosctring.feature.basic.out @@ -0,0 +1,5 @@ +Feature: Outline + Scenario Outline: foo + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline_with_basic_dosctring.feature.colored.out b/tests/features/output/scenario_outline_with_basic_dosctring.feature.colored.out new file mode 100644 index 00000000..34f5df45 --- /dev/null +++ b/tests/features/output/scenario_outline_with_basic_dosctring.feature.colored.out @@ -0,0 +1,8 @@ +Feature: Outline + Scenario Outline: foo + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline_with_basic_dosctring.feature.out b/tests/features/output/scenario_outline_with_basic_dosctring.feature.debug.out similarity index 99% rename from tests/features/output/scenario_outline_with_basic_dosctring.feature.out rename to tests/features/output/scenario_outline_with_basic_dosctring.feature.debug.out index 57e8b561..81292311 100644 --- a/tests/features/output/scenario_outline_with_basic_dosctring.feature.out +++ b/tests/features/output/scenario_outline_with_basic_dosctring.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_expanded_dosctring.feature.basic.out b/tests/features/output/scenario_outline_with_expanded_dosctring.feature.basic.out new file mode 100644 index 00000000..1ff670a4 --- /dev/null +++ b/tests/features/output/scenario_outline_with_expanded_dosctring.feature.basic.out @@ -0,0 +1,5 @@ +Feature: Outline + Scenario Outline: foo + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline_with_expanded_dosctring.feature.colored.out b/tests/features/output/scenario_outline_with_expanded_dosctring.feature.colored.out new file mode 100644 index 00000000..34f5df45 --- /dev/null +++ b/tests/features/output/scenario_outline_with_expanded_dosctring.feature.colored.out @@ -0,0 +1,8 @@ +Feature: Outline + Scenario Outline: foo + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline_with_expanded_dosctring.feature.out b/tests/features/output/scenario_outline_with_expanded_dosctring.feature.debug.out similarity index 99% rename from tests/features/output/scenario_outline_with_expanded_dosctring.feature.out rename to tests/features/output/scenario_outline_with_expanded_dosctring.feature.debug.out index e7364b66..870e9e32 100644 --- a/tests/features/output/scenario_outline_with_expanded_dosctring.feature.out +++ b/tests/features/output/scenario_outline_with_expanded_dosctring.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_multiple_examples.feature.basic.out b/tests/features/output/scenario_outline_with_multiple_examples.feature.basic.out new file mode 100644 index 00000000..d54fb7b5 --- /dev/null +++ b/tests/features/output/scenario_outline_with_multiple_examples.feature.basic.out @@ -0,0 +1,13 @@ +Feature: Outline + Scenario Outline: foo + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 + Scenario Outline: foo + ✘ Given foo is 3 + Step failed: + Defined: tests/features/output/scenario_outline_with_multiple_examples.feature:5:5 + Matched: tests/output.rs:13:1 + Step panicked. Captured output: assertion failed: `(left == right)` + left: `0`, + right: `3` diff --git a/tests/features/output/scenario_outline_with_multiple_examples.feature.colored.out b/tests/features/output/scenario_outline_with_multiple_examples.feature.colored.out new file mode 100644 index 00000000..140dc97b --- /dev/null +++ b/tests/features/output/scenario_outline_with_multiple_examples.feature.colored.out @@ -0,0 +1,17 @@ +Feature: Outline + Scenario Outline: foo + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 + Scenario Outline: foo + Given foo is 3 +  ✘ Given foo is 3 + Step failed: + Defined: tests/features/output/scenario_outline_with_multiple_examples.feature:5:5 + Matched: tests/output.rs:13:1 + Step panicked. Captured output: assertion failed: `(left == right)` + left: `0`, + right: `3` diff --git a/tests/features/output/scenario_outline_with_multiple_examples.feature.out b/tests/features/output/scenario_outline_with_multiple_examples.feature.debug.out similarity index 99% rename from tests/features/output/scenario_outline_with_multiple_examples.feature.out rename to tests/features/output/scenario_outline_with_multiple_examples.feature.debug.out index c8dccb25..122704a0 100644 --- a/tests/features/output/scenario_outline_with_multiple_examples.feature.out +++ b/tests/features/output/scenario_outline_with_multiple_examples.feature.debug.out @@ -14,4 +14,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} })), Some(Location { line: 13, column: 1 }), Some(World(0)), Panic(Any { .. }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_tags.feature.basic.out b/tests/features/output/scenario_outline_with_tags.feature.basic.out new file mode 100644 index 00000000..1ff670a4 --- /dev/null +++ b/tests/features/output/scenario_outline_with_tags.feature.basic.out @@ -0,0 +1,5 @@ +Feature: Outline + Scenario Outline: foo + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline_with_tags.feature.colored.out b/tests/features/output/scenario_outline_with_tags.feature.colored.out new file mode 100644 index 00000000..34f5df45 --- /dev/null +++ b/tests/features/output/scenario_outline_with_tags.feature.colored.out @@ -0,0 +1,8 @@ +Feature: Outline + Scenario Outline: foo + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline_with_tags.feature.out b/tests/features/output/scenario_outline_with_tags.feature.debug.out similarity index 99% rename from tests/features/output/scenario_outline_with_tags.feature.out rename to tests/features/output/scenario_outline_with_tags.feature.debug.out index b1c68401..a3ee7fae 100644 --- a/tests/features/output/scenario_outline_with_tags.feature.out +++ b/tests/features/output/scenario_outline_with_tags.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_tags_and_comments.feature.basic.out b/tests/features/output/scenario_outline_with_tags_and_comments.feature.basic.out new file mode 100644 index 00000000..1ff670a4 --- /dev/null +++ b/tests/features/output/scenario_outline_with_tags_and_comments.feature.basic.out @@ -0,0 +1,5 @@ +Feature: Outline + Scenario Outline: foo + ✔ Given foo is 0 + ✔ When foo is 1 + ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline_with_tags_and_comments.feature.colored.out b/tests/features/output/scenario_outline_with_tags_and_comments.feature.colored.out new file mode 100644 index 00000000..34f5df45 --- /dev/null +++ b/tests/features/output/scenario_outline_with_tags_and_comments.feature.colored.out @@ -0,0 +1,8 @@ +Feature: Outline + Scenario Outline: foo + Given foo is 0 +  ✔ Given foo is 0 + When foo is 1 +  ✔ When foo is 1 + Then foo is 2 +  ✔ Then foo is 2 diff --git a/tests/features/output/scenario_outline_with_tags_and_comments.feature.out b/tests/features/output/scenario_outline_with_tags_and_comments.feature.debug.out similarity index 99% rename from tests/features/output/scenario_outline_with_tags_and_comments.feature.out rename to tests/features/output/scenario_outline_with_tags_and_comments.feature.debug.out index da108c9d..a294d680 100644 --- a/tests/features/output/scenario_outline_with_tags_and_comments.feature.out +++ b/tests/features/output/scenario_outline_with_tags_and_comments.feature.debug.out @@ -10,4 +10,4 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) -Finished +Finished \ No newline at end of file diff --git a/tests/features/output/unknown_scenario_outline.feature.basic.out b/tests/features/output/unknown_scenario_outline.feature.basic.out new file mode 100644 index 00000000..55b44b5e --- /dev/null +++ b/tests/features/output/unknown_scenario_outline.feature.basic.out @@ -0,0 +1 @@ +Failed to parse: Failed to expand examples: Failed to resolve at tests/features/output/unknown_scenario_outline.feature:6:5 diff --git a/tests/features/output/unknown_scenario_outline.feature.colored.out b/tests/features/output/unknown_scenario_outline.feature.colored.out new file mode 100644 index 00000000..fe73ebcc --- /dev/null +++ b/tests/features/output/unknown_scenario_outline.feature.colored.out @@ -0,0 +1 @@ +Failed to parse: Failed to expand examples: Failed to resolve at tests/features/output/unknown_scenario_outline.feature:6:5 diff --git a/tests/features/output/unknown_scenario_outline.feature.out b/tests/features/output/unknown_scenario_outline.feature.debug.out similarity index 92% rename from tests/features/output/unknown_scenario_outline.feature.out rename to tests/features/output/unknown_scenario_outline.feature.debug.out index f8a8be92..cefaea8a 100644 --- a/tests/features/output/unknown_scenario_outline.feature.out +++ b/tests/features/output/unknown_scenario_outline.feature.debug.out @@ -1,4 +1,4 @@ ParsingError ParsingFinished { features: 0, rules: 0, scenarios: 0, steps: 0, parser_errors: 1 } Started -Finished +Finished \ No newline at end of file diff --git a/tests/output.rs b/tests/output.rs index b34a2436..326cf281 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -1,4 +1,4 @@ -use std::{borrow::Cow, cmp::Ordering, fmt::Debug}; +use std::{borrow::Cow, cmp::Ordering, fmt::Debug, mem}; use async_trait::async_trait; use cucumber::{cli, event, given, parser, step, then, when, Event, Writer}; @@ -22,7 +22,10 @@ fn step(w: &mut World, num: usize) { fn ambiguous(_w: &mut World) {} #[derive(Default)] -struct DebugWriter(String); +struct DebugWriter { + output: String, + first_line_printed: bool, +} #[async_trait(?Send)] impl Writer for DebugWriter { @@ -146,7 +149,10 @@ impl Writer for DebugWriter { let without_span = SPAN_OR_PATH_RE.replace_all(ev.as_ref(), ""); - self.0.push_str(without_span.as_ref()); + if mem::replace(&mut self.first_line_printed, true) { + self.output.push('\n'); + } + self.output.push_str(without_span.as_ref()); } } @@ -160,13 +166,20 @@ static SPAN_OR_PATH_RE: &Lazy = regex!( #[cfg(test)] mod spec { - use std::fs; + use std::{fs, io}; - use cucumber::{World as _, WriterExt as _}; + use cucumber::{ + writer::{self, Coloring}, + World as _, WriterExt as _, + }; use globwalk::GlobWalkerBuilder; use super::{DebugWriter, World}; + fn load_file(path: impl AsRef) -> Vec { + fs::read(path.as_ref()).unwrap_or_default() + } + #[tokio::test] async fn test() { let walker = @@ -179,26 +192,53 @@ mod spec { .map(|entry| entry.file_name().to_str().unwrap().to_owned()) .collect::>(); - assert_eq!( - files.len(), - fs::read_dir("tests/features/output").unwrap().count() / 2, - "Not all `.feature` files were collected", - ); + // assert_eq!( + // files.len(), + // fs::read_dir("tests/features/output").unwrap().count() / 4, + // "Not all `.feature` files were collected", + // ); for file in files { - let out = fs::read_to_string(format!( - "tests/features/output/{file}.out", - )) - .unwrap_or_default() - .lines() - .collect::(); - let normalized = World::cucumber() + let expected = + load_file(format!("tests/features/output/{file}.debug.out",)); + let debug = World::cucumber() .with_writer(DebugWriter::default().normalized()) .with_default_cli() .run(format!("tests/features/output/{file}")) .await; - - assert_eq!(normalized.0, out, "\nfile: {file}"); + assert_eq!(debug.output.clone().into_bytes(), expected, "\n[debug] file: {file}"); + + let expected = + load_file(format!("tests/features/output/{file}.basic.out",)); + let mut actual = Vec::new(); + let _ = World::cucumber() + .with_writer( + writer::Basic::raw(&mut actual, Coloring::Never, 0) + .discard_stats_writes() + .normalized(), + ) + .with_default_cli() + .run(format!("tests/features/output/{file}")) + .await; + assert_eq!(actual, expected, "\n[basic] file: {file}"); + + let expected = + load_file(format!("tests/features/output/{file}.colored.out",)); + let mut actual = Vec::new(); + let _ = World::cucumber() + .with_writer( + writer::Basic::raw(&mut actual, Coloring::Always, 0) + .discard_stats_writes() + .normalized(), + ) + .with_default_cli() + .run(format!("tests/features/output/{file}")) + .await; + fs::write( + format!("tests/features/output/{file}.colored.out"), + actual, + ).unwrap(); + // assert_eq!(actual, expected, "\n[colored] file: {file}"); } } } From d5e4a14525a4dc70b31265e1335f5d52dcbd1918 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Thu, 21 Sep 2023 09:20:22 -0500 Subject: [PATCH 06/24] Corrections [run ci] --- src/step.rs | 2 + src/writer/basic.rs | 6 +- tests/features/output/.feature.debug.out | 6 +- .../output/ambiguous_step.feature.basic.out | 4 +- .../output/ambiguous_step.feature.colored.out | 4 +- .../output/ambiguous_step.feature.debug.out | 2 +- .../output/background_rule.feature.debug.out | 8 +- ...ckground_rule_background.feature.debug.out | 10 +- ..._rule_background_outline.feature.debug.out | 10 +- .../background_rule_outline.feature.debug.out | 8 +- .../background_scenario.feature.debug.out | 8 +- ...kground_scenario_outline.feature.debug.out | 8 +- .../output/descriptions.feature.debug.out | 16 +-- ...on_with_allowed_keywords.feature.debug.out | 6 +- .../output/non_default_lang.feature.debug.out | 6 +- tests/features/output/rule.feature.debug.out | 6 +- .../output/rule_background.feature.debug.out | 8 +- .../rule_background_outline.feature.debug.out | 8 +- .../output/rule_outline.feature.debug.out | 6 +- .../output/scenario.feature.debug.out | 6 +- .../output/scenario_outline.feature.debug.out | 6 +- ...tline_adjacent_templates.feature.basic.out | 2 +- ...ine_adjacent_templates.feature.colored.out | 2 +- ...tline_adjacent_templates.feature.debug.out | 4 +- .../scenario_outline_table.feature.basic.out | 2 +- ...scenario_outline_table.feature.colored.out | 2 +- .../scenario_outline_table.feature.debug.out | 8 +- ...ine_with_basic_dosctring.feature.debug.out | 6 +- ..._with_expanded_dosctring.feature.debug.out | 6 +- ...e_with_multiple_examples.feature.basic.out | 2 +- ...with_multiple_examples.feature.colored.out | 2 +- ...e_with_multiple_examples.feature.debug.out | 8 +- ...enario_outline_with_tags.feature.debug.out | 6 +- ...e_with_tags_and_comments.feature.debug.out | 6 +- tests/output.rs | 135 ++---------------- 35 files changed, 116 insertions(+), 219 deletions(-) diff --git a/src/step.rs b/src/step.rs index 4d443a0a..b8efba8c 100644 --- a/src/step.rs +++ b/src/step.rs @@ -24,6 +24,7 @@ use std::{ use derive_more::{Deref, DerefMut, Display, Error}; use futures::future::LocalBoxFuture; use gherkin::StepType; +use itertools::Itertools as _; use regex::Regex; /// Alias for a [`gherkin::Step`] function that returns a [`LocalBoxFuture`]. @@ -199,6 +200,7 @@ impl Collection { possible_matches: captures .into_iter() .map(|(re, loc, ..)| (re.clone(), *loc)) + .sorted() .collect(), }) } diff --git a/src/writer/basic.rs b/src/writer/basic.rs index 5f8c980b..d5bd0ef5 100644 --- a/src/writer/basic.rs +++ b/src/writer/basic.rs @@ -734,7 +734,8 @@ impl Basic { .unwrap_or_default(), )); - self.output.write_line(&format!("{step_keyword}{step_value}{diagnostics}")) + self.output + .write_line(&format!("{step_keyword}{step_value}{diagnostics}")) } /// Outputs the [`Background`] [`Step`]'s @@ -1011,7 +1012,8 @@ impl Basic { .unwrap_or_default(), )); - self.output.write_line(&format!("{step_keyword}{step_value}{diagnostics}")) + self.output + .write_line(&format!("{step_keyword}{step_value}{diagnostics}")) } } diff --git a/tests/features/output/.feature.debug.out b/tests/features/output/.feature.debug.out index bb3dd643..af93e9a2 100644 --- a/tests/features/output/.feature.debug.out +++ b/tests/features/output/.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/ambiguous_step.feature.basic.out b/tests/features/output/ambiguous_step.feature.basic.out index 02112486..57fc7a0f 100644 --- a/tests/features/output/ambiguous_step.feature.basic.out +++ b/tests/features/output/ambiguous_step.feature.basic.out @@ -4,5 +4,5 @@ Feature: ambiguous Step failed: Defined: tests/features/output/ambiguous_step.feature:3:5 Step match is ambiguous: Possible matches: - foo is (\d+) ambiguous --> tests/output.rs:21:1 - foo is (\d+) --> tests/output.rs:13:1 + foo is (\d+) --> tests/output.rs:12:1 + foo is (\d+) ambiguous --> tests/output.rs:20:1 diff --git a/tests/features/output/ambiguous_step.feature.colored.out b/tests/features/output/ambiguous_step.feature.colored.out index f2c4f170..fc2f0fb1 100644 --- a/tests/features/output/ambiguous_step.feature.colored.out +++ b/tests/features/output/ambiguous_step.feature.colored.out @@ -5,5 +5,5 @@ Step failed: Defined: tests/features/output/ambiguous_step.feature:3:5 Step match is ambiguous: Possible matches: - foo is (\d+) --> tests/output.rs:13:1 - foo is (\d+) ambiguous --> tests/output.rs:21:1 + foo is (\d+) --> tests/output.rs:12:1 + foo is (\d+) ambiguous --> tests/output.rs:20:1 diff --git a/tests/features/output/ambiguous_step.feature.debug.out b/tests/features/output/ambiguous_step.feature.debug.out index 24733ed1..167e2f19 100644 --- a/tests/features/output/ambiguous_step.feature.debug.out +++ b/tests/features/output/ambiguous_step.feature.debug.out @@ -3,7 +3,7 @@ Started Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }, Failed(None, None, None, AmbiguousMatch(AmbiguousMatchError { possible_matches: [(HashableRegex(Regex("foo is (\\d+)")), Some(Location { line: 13, column: 1 })), (HashableRegex(Regex("foo is (\\d+) ambiguous")), Some(Location { line: 21, column: 1 }))] }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }, Failed(None, None, None, AmbiguousMatch(AmbiguousMatchError { possible_matches: [(HashableRegex(Regex("foo is (\\d+)")), Some(Location { line: 12, column: 1 })), (HashableRegex(Regex("foo is (\\d+) ambiguous")), Some(Location { line: 20, column: 1 }))] }))), retries: None })) Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "ambiguous", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "ambiguous", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0 ambiguous", docstring: None, table: None, position: LineCol { line: 3 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/background_rule.feature.debug.out b/tests/features/output/background_rule.feature.debug.out index b9041742..fe0cd1c7 100644 --- a/tests/features/output/background_rule.feature.debug.out +++ b/tests/features/output/background_rule.feature.debug.out @@ -4,13 +4,13 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Started)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Started, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }, Finished)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Finished) diff --git a/tests/features/output/background_rule_background.feature.debug.out b/tests/features/output/background_rule_background.feature.debug.out index 495a9757..4ae46b11 100644 --- a/tests/features/output/background_rule_background.feature.debug.out +++ b/tests/features/output/background_rule_background.feature.debug.out @@ -4,15 +4,15 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Started)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Started, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }, Finished)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [], tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Finished) diff --git a/tests/features/output/background_rule_background_outline.feature.debug.out b/tests/features/output/background_rule_background_outline.feature.debug.out index e3719dc4..68a9ddfa 100644 --- a/tests/features/output/background_rule_background_outline.feature.debug.out +++ b/tests/features/output/background_rule_background_outline.feature.debug.out @@ -4,15 +4,15 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Started)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Started, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }, Finished)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }], position: LineCol { line: 8 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo 2", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Step { keyword: "When ", ty: When, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 13 } }, Step { keyword: "Then ", ty: Then, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 14 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["2", "3", "4"]], position: LineCol { line: 17 } }), tags: [], position: LineCol { line: 16 } }], tags: [], position: LineCol { line: 18 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Finished) diff --git a/tests/features/output/background_rule_outline.feature.debug.out b/tests/features/output/background_rule_outline.feature.debug.out index 8cafee83..28a4466e 100644 --- a/tests/features/output/background_rule_outline.feature.debug.out +++ b/tests/features/output/background_rule_outline.feature.debug.out @@ -4,13 +4,13 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Started)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Started, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }, Finished)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 14 } }), tags: [], position: LineCol { line: 13 } }], tags: [], position: LineCol { line: 15 } }], tags: [], position: LineCol { line: 6 } }], tags: [], position: LineCol { line: 1 }, }, Finished) diff --git a/tests/features/output/background_scenario.feature.debug.out b/tests/features/output/background_scenario.feature.debug.out index 117500c1..3e1e0ef9 100644 --- a/tests/features/output/background_scenario.feature.debug.out +++ b/tests/features/output/background_scenario.feature.debug.out @@ -3,13 +3,13 @@ Started Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [], tags: [], position: LineCol { line: 6 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/background_scenario_outline.feature.debug.out b/tests/features/output/background_scenario_outline.feature.debug.out index ee928e69..da3a4218 100644 --- a/tests/features/output/background_scenario_outline.feature.debug.out +++ b/tests/features/output/background_scenario_outline.feature.debug.out @@ -3,13 +3,13 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }], position: LineCol { line: 3 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 7 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/descriptions.feature.debug.out b/tests/features/output/descriptions.feature.debug.out index 464e6f9b..c10e32c4 100644 --- a/tests/features/output/descriptions.feature.debug.out +++ b/tests/features/output/descriptions.feature.debug.out @@ -3,35 +3,35 @@ Started Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Descriptions everywhere", description: Some("This is a single line description"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "two lines", description: Some("This description\nhas two lines and indented with two spaces"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [], tags: [], position: LineCol { line: 4 } }, Scenario { keyword: "Scenario", name: "without indentation", description: Some("This is a description without indentation"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 9 } }, Scenario { keyword: "Scenario", name: "empty lines in the middle", description: Some("This description\nhas an empty line in the middle"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 17 } }], examples: [], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario", name: "empty lines around", description: Some("This description\nhas an empty lines around"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 24 } }], examples: [], tags: [], position: LineCol { line: 19 } }, Scenario { keyword: "Scenario", name: "comment after description", description: Some("This description\nhas a comment after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 31 } }], examples: [], tags: [], position: LineCol { line: 26 } }, Scenario { keyword: "Scenario", name: "comment right after description", description: Some("This description\nhas a comment right after"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 38 } }], examples: [], tags: [], position: LineCol { line: 33 } }, Scenario { keyword: "Scenario", name: "description with escaped docstring separator", description: Some("This description has an \\\"\\\"\\\" (escaped docstring separator)"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 42 } }], examples: [], tags: [], position: LineCol { line: 40 } }, Scenario { keyword: "Scenario Outline", name: "scenario outline with a description", description: Some("This is a scenario outline description"), steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 45 } }], examples: [Examples { keyword: "Examples", name: Some("examples with description"), description: Some("This is an examples description"), table: Some(Table { rows: [["foo"], ["0"]], position: LineCol { line: 48 } }), tags: [], position: LineCol { line: 46 } }], tags: [], position: LineCol { line: 48 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/feature_description_with_allowed_keywords.feature.debug.out b/tests/features/output/feature_description_with_allowed_keywords.feature.debug.out index efffdf43..04119a6a 100644 --- a/tests/features/output/feature_description_with_allowed_keywords.feature.debug.out +++ b/tests/features/output/feature_description_with_allowed_keywords.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: Some("Markdown\n* item 1\n* item 2\nBut is also supported\nAnd even\nGiven is supported too"), background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 11 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 12 } }], examples: [], tags: [], position: LineCol { line: 9 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/non_default_lang.feature.debug.out b/tests/features/output/non_default_lang.feature.debug.out index a7609535..c035cebb 100644 --- a/tests/features/output/non_default_lang.feature.debug.out +++ b/tests/features/output/non_default_lang.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Started) Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Started), retries: None })) -Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Scenario(Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Egenskap", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Eksempel", name: "output", description: None, steps: [Step { keyword: "Gitt ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Når ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Så ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], rules: [], tags: [], position: LineCol { line: 2 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/rule.feature.debug.out b/tests/features/output/rule.feature.debug.out index be7c4414..dc88b59f 100644 --- a/tests/features/output/rule.feature.debug.out +++ b/tests/features/output/rule.feature.debug.out @@ -4,11 +4,11 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Started)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Started, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }, Finished)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Finished) diff --git a/tests/features/output/rule_background.feature.debug.out b/tests/features/output/rule_background.feature.debug.out index f549b8dc..dc9914e0 100644 --- a/tests/features/output/rule_background.feature.debug.out +++ b/tests/features/output/rule_background.feature.debug.out @@ -4,13 +4,13 @@ Feature(Feature { keyword: "Feature", name: "output", description: None, backgro Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Started)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Started, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }, Finished)) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "output", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 6 } }], position: LineCol { line: 5 } }), scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 10 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 11 } }], examples: [], tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Finished) diff --git a/tests/features/output/rule_background_outline.feature.debug.out b/tests/features/output/rule_background_outline.feature.debug.out index 6ff010bf..91fa6b21 100644 --- a/tests/features/output/rule_background_outline.feature.debug.out +++ b/tests/features/output/rule_background_outline.feature.debug.out @@ -4,13 +4,13 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Started)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Started, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Background(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }, Finished)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "outline", description: None, background: Some(Background { keyword: "Background", name: "", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }], position: LineCol { line: 4 } }), scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "When ", ty: When, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Step { keyword: "Then ", ty: Then, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 10 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["1", "2", "3"]], position: LineCol { line: 13 } }), tags: [], position: LineCol { line: 12 } }], tags: [], position: LineCol { line: 14 } }], tags: [], position: LineCol { line: 3 } }], tags: [], position: LineCol { line: 1 }, }, Finished) diff --git a/tests/features/output/rule_outline.feature.debug.out b/tests/features/output/rule_outline.feature.debug.out index a5eb750b..68c22151 100644 --- a/tests/features/output/rule_outline.feature.debug.out +++ b/tests/features/output/rule_outline.feature.debug.out @@ -4,11 +4,11 @@ Feature(Feature { keyword: "Feature", name: "Outline", description: None, backgr Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Started)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Started, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Started), retries: None }))) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None }))) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Finished, retries: None }))) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Rule(Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }, Finished)) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [], rules: [Rule { keyword: "Rule", name: "them all", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], tags: [], position: LineCol { line: 2 } }], tags: [], position: LineCol { line: 1 }, }, Finished) diff --git a/tests/features/output/scenario.feature.debug.out b/tests/features/output/scenario.feature.debug.out index bb3dd643..af93e9a2 100644 --- a/tests/features/output/scenario.feature.debug.out +++ b/tests/features/output/scenario.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "output", description: None, background: None, scenarios: [Scenario { keyword: "Scenario", name: "output", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 3 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 5 } }], examples: [], tags: [], position: LineCol { line: 2 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline.feature.debug.out b/tests/features/output/scenario_outline.feature.debug.out index d7d8b3de..d84f22af 100644 --- a/tests/features/output/scenario_outline.feature.debug.out +++ b/tests/features/output/scenario_outline.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_adjacent_templates.feature.basic.out b/tests/features/output/scenario_outline_adjacent_templates.feature.basic.out index 8ac84f52..c21308d9 100644 --- a/tests/features/output/scenario_outline_adjacent_templates.feature.basic.out +++ b/tests/features/output/scenario_outline_adjacent_templates.feature.basic.out @@ -4,7 +4,7 @@ Feature: Outline ✘ When foo is 101 Step failed: Defined: tests/features/output/scenario_outline_adjacent_templates.feature:5:5 - Matched: tests/output.rs:14:1 + Matched: tests/output.rs:13:1 Step panicked. Captured output: assertion failed: `(left == right)` left: `1`, right: `101` diff --git a/tests/features/output/scenario_outline_adjacent_templates.feature.colored.out b/tests/features/output/scenario_outline_adjacent_templates.feature.colored.out index f548d534..26102c52 100644 --- a/tests/features/output/scenario_outline_adjacent_templates.feature.colored.out +++ b/tests/features/output/scenario_outline_adjacent_templates.feature.colored.out @@ -6,7 +6,7 @@   ✘ When foo is 101 Step failed: Defined: tests/features/output/scenario_outline_adjacent_templates.feature:5:5 - Matched: tests/output.rs:14:1 + Matched: tests/output.rs:13:1 Step panicked. Captured output: assertion failed: `(left == right)` left: `1`, right: `101` diff --git a/tests/features/output/scenario_outline_adjacent_templates.feature.debug.out b/tests/features/output/scenario_outline_adjacent_templates.feature.debug.out index c10ab094..913ae380 100644 --- a/tests/features/output/scenario_outline_adjacent_templates.feature.debug.out +++ b/tests/features/output/scenario_outline_adjacent_templates.feature.debug.out @@ -3,9 +3,9 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..9, 1: 7..9} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..9, 1: 7..9} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..10, 1: 7..10} })), Some(Location { line: 14, column: 1 }), Some(World(1)), Panic(Any { .. }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..10, 1: 7..10} })), Some(Location { line: 13, column: 1 }), Some(World(1)), Panic(Any { .. }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 00", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 101", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 21", docstring: None, table: None, position: LineCol { line: 6 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 9 } }), tags: [], position: LineCol { line: 8 } }], tags: [], position: LineCol { line: 10 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_table.feature.basic.out b/tests/features/output/scenario_outline_table.feature.basic.out index 8ad5dd6f..e238f4b1 100644 --- a/tests/features/output/scenario_outline_table.feature.basic.out +++ b/tests/features/output/scenario_outline_table.feature.basic.out @@ -13,7 +13,7 @@ Feature: Outline | 2 | 4 | Step failed: Defined: tests/features/output/scenario_outline_table.feature:4:5 - Matched: tests/output.rs:13:1 + Matched: tests/output.rs:12:1 Step panicked. Captured output: assertion failed: `(left == right)` left: `0`, right: `3` diff --git a/tests/features/output/scenario_outline_table.feature.colored.out b/tests/features/output/scenario_outline_table.feature.colored.out index 11024bbd..4201c8da 100644 --- a/tests/features/output/scenario_outline_table.feature.colored.out +++ b/tests/features/output/scenario_outline_table.feature.colored.out @@ -23,7 +23,7 @@ | 2 | 4 | Step failed: Defined: tests/features/output/scenario_outline_table.feature:4:5 - Matched: tests/output.rs:13:1 + Matched: tests/output.rs:12:1 Step panicked. Captured output: assertion failed: `(left == right)` left: `0`, right: `3` diff --git a/tests/features/output/scenario_outline_table.feature.debug.out b/tests/features/output/scenario_outline_table.feature.debug.out index 571b8a8b..b309a9e0 100644 --- a/tests/features/output/scenario_outline_table.feature.debug.out +++ b/tests/features/output/scenario_outline_table.feature.debug.out @@ -3,15 +3,15 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} })), Some(Location { line: 13, column: 1 }), Some(World(0)), Panic(Any { .. }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} })), Some(Location { line: 12, column: 1 }), Some(World(0)), Panic(Any { .. }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "0"], ["2", "1"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: Some(Table { rows: [["key", "value"], ["1", "3"], ["2", "4"]], position: LineCol { line: 5 } }), position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 8 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"], ["3", "4", "5"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_basic_dosctring.feature.debug.out b/tests/features/output/scenario_outline_with_basic_dosctring.feature.debug.out index 81292311..5421f429 100644 --- a/tests/features/output/scenario_outline_with_basic_dosctring.feature.debug.out +++ b/tests/features/output/scenario_outline_with_basic_dosctring.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nNothing to replace here\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_expanded_dosctring.feature.debug.out b/tests/features/output/scenario_outline_with_expanded_dosctring.feature.debug.out index 870e9e32..dcf8a768 100644 --- a/tests/features/output/scenario_outline_with_expanded_dosctring.feature.debug.out +++ b/tests/features/output/scenario_outline_with_expanded_dosctring.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 4 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: Some("\nfoo is 2\n"), table: None, position: LineCol { line: 5 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 9 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 12 } }), tags: [], position: LineCol { line: 11 } }], tags: [], position: LineCol { line: 13 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_multiple_examples.feature.basic.out b/tests/features/output/scenario_outline_with_multiple_examples.feature.basic.out index d54fb7b5..c7df9eda 100644 --- a/tests/features/output/scenario_outline_with_multiple_examples.feature.basic.out +++ b/tests/features/output/scenario_outline_with_multiple_examples.feature.basic.out @@ -7,7 +7,7 @@ Feature: Outline ✘ Given foo is 3 Step failed: Defined: tests/features/output/scenario_outline_with_multiple_examples.feature:5:5 - Matched: tests/output.rs:13:1 + Matched: tests/output.rs:12:1 Step panicked. Captured output: assertion failed: `(left == right)` left: `0`, right: `3` diff --git a/tests/features/output/scenario_outline_with_multiple_examples.feature.colored.out b/tests/features/output/scenario_outline_with_multiple_examples.feature.colored.out index 140dc97b..cdc8cb1b 100644 --- a/tests/features/output/scenario_outline_with_multiple_examples.feature.colored.out +++ b/tests/features/output/scenario_outline_with_multiple_examples.feature.colored.out @@ -11,7 +11,7 @@   ✘ Given foo is 3 Step failed: Defined: tests/features/output/scenario_outline_with_multiple_examples.feature:5:5 - Matched: tests/output.rs:13:1 + Matched: tests/output.rs:12:1 Step panicked. Captured output: assertion failed: `(left == right)` left: `0`, right: `3` diff --git a/tests/features/output/scenario_outline_with_multiple_examples.feature.debug.out b/tests/features/output/scenario_outline_with_multiple_examples.feature.debug.out index 122704a0..8bd8d246 100644 --- a/tests/features/output/scenario_outline_with_multiple_examples.feature.debug.out +++ b/tests/features/output/scenario_outline_with_multiple_examples.feature.debug.out @@ -3,15 +3,15 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} })), Some(Location { line: 13, column: 1 }), Some(World(0)), Panic(Any { .. }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Failed(Some(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} })), Some(Location { line: 12, column: 1 }), Some(World(0)), Panic(Any { .. }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 3", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 4", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 5", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }, Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["3", "4", "5"]], position: LineCol { line: 16 } }), tags: ["other-examples"], position: LineCol { line: 15 } }], tags: ["original", "other-examples"], position: LineCol { line: 17 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_tags.feature.debug.out b/tests/features/output/scenario_outline_with_tags.feature.debug.out index a3ee7fae..d7e7f6e9 100644 --- a/tests/features/output/scenario_outline_with_tags.feature.debug.out +++ b/tests/features/output/scenario_outline_with_tags.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 11 } }), tags: ["examples"], position: LineCol { line: 10 } }], tags: ["original", "examples"], position: LineCol { line: 12 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/features/output/scenario_outline_with_tags_and_comments.feature.debug.out b/tests/features/output/scenario_outline_with_tags_and_comments.feature.debug.out index a294d680..795461ba 100644 --- a/tests/features/output/scenario_outline_with_tags_and_comments.feature.debug.out +++ b/tests/features/output/scenario_outline_with_tags_and_comments.feature.debug.out @@ -3,11 +3,11 @@ Started Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Started) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Started, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 12, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 13, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Started), retries: None })) -Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 15, column: 1 }))), retries: None })) +Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Step(Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 14, column: 1 }))), retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Scenario(Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }, RetryableScenario { event: Finished, retries: None })) Feature(Feature { keyword: "Feature", name: "Outline", description: None, background: None, scenarios: [Scenario { keyword: "Scenario Outline", name: "foo", description: None, steps: [Step { keyword: "Given ", ty: Given, value: "foo is 0", docstring: None, table: None, position: LineCol { line: 5 } }, Step { keyword: "When ", ty: When, value: "foo is 1", docstring: None, table: None, position: LineCol { line: 6 } }, Step { keyword: "Then ", ty: Then, value: "foo is 2", docstring: None, table: None, position: LineCol { line: 7 } }], examples: [Examples { keyword: "Examples", name: None, description: None, table: Some(Table { rows: [["bar1", "bar2", "bar3"], ["0", "1", "2"]], position: LineCol { line: 13 } }), tags: ["#examples()"], position: LineCol { line: 12 } }], tags: ["original", "merged.tag", "#examples()"], position: LineCol { line: 14 } }], rules: [], tags: [], position: LineCol { line: 1 }, }, Finished) Finished \ No newline at end of file diff --git a/tests/output.rs b/tests/output.rs index 326cf281..bbc0f3d9 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -1,8 +1,7 @@ -use std::{borrow::Cow, cmp::Ordering, fmt::Debug, mem}; +use std::{borrow::Cow, fmt::Debug, mem}; use async_trait::async_trait; -use cucumber::{cli, event, given, parser, step, then, when, Event, Writer}; -use itertools::Itertools as _; +use cucumber::{cli, event, given, parser, then, when, Event, Writer}; use lazy_regex::regex; use once_cell::sync::Lazy; use regex::Regex; @@ -36,114 +35,8 @@ impl Writer for DebugWriter { ev: parser::Result>>, _: &Self::Cli, ) { - use event::{ - Cucumber, Feature, RetryableScenario, Rule, Scenario, Step, - StepError, - }; - - // This function is used to provide a deterministic ordering of - // `possible_matches`. - let sort_matches = |mut e: step::AmbiguousMatchError| { - e.possible_matches = e - .possible_matches - .into_iter() - .sorted_by(|(re_l, loc_l), (re_r, loc_r)| { - let re_ord = Ord::cmp(re_l, re_r); - if re_ord != Ordering::Equal { - return re_ord; - } - loc_l - .as_ref() - .and_then(|l| loc_r.as_ref().map(|r| Ord::cmp(l, r))) - .unwrap_or(Ordering::Equal) - }) - .collect(); - e - }; - let ev: Cow<_> = match ev.map(Event::into_inner) { Err(_) => "ParsingError".into(), - Ok(Cucumber::Feature( - feat, - Feature::Rule( - rule, - Rule::Scenario( - sc, - RetryableScenario { - event: - Scenario::Step( - st, - Step::Failed( - cap, - loc, - w, - StepError::AmbiguousMatch(e), - ), - ), - retries, - }, - ), - ), - )) => { - let ev = Cucumber::scenario( - feat, - Some(rule), - sc, - RetryableScenario { - event: Scenario::Step( - st, - Step::Failed( - cap, - loc, - w, - StepError::AmbiguousMatch(sort_matches(e)), - ), - ), - retries, - }, - ); - - format!("{ev:?}").into() - } - Ok(Cucumber::Feature( - feat, - Feature::Scenario( - sc, - RetryableScenario { - event: - Scenario::Step( - st, - Step::Failed( - cap, - loc, - w, - StepError::AmbiguousMatch(e), - ), - ), - retries, - }, - ), - )) => { - let ev = Cucumber::scenario( - feat, - None, - sc, - RetryableScenario { - event: Scenario::Step( - st, - Step::Failed( - cap, - loc, - w, - StepError::AmbiguousMatch(sort_matches(e)), - ), - ), - retries, - }, - ); - - format!("{ev:?}").into() - } Ok(ev) => format!("{ev:?}").into(), }; @@ -166,7 +59,7 @@ static SPAN_OR_PATH_RE: &Lazy = regex!( #[cfg(test)] mod spec { - use std::{fs, io}; + use std::fs; use cucumber::{ writer::{self, Coloring}, @@ -192,11 +85,11 @@ mod spec { .map(|entry| entry.file_name().to_str().unwrap().to_owned()) .collect::>(); - // assert_eq!( - // files.len(), - // fs::read_dir("tests/features/output").unwrap().count() / 4, - // "Not all `.feature` files were collected", - // ); + assert_eq!( + files.len(), + fs::read_dir("tests/features/output").unwrap().count() / 4, + "Not all `.feature` files were collected", + ); for file in files { let expected = @@ -206,7 +99,11 @@ mod spec { .with_default_cli() .run(format!("tests/features/output/{file}")) .await; - assert_eq!(debug.output.clone().into_bytes(), expected, "\n[debug] file: {file}"); + assert_eq!( + debug.output.clone().into_bytes(), + expected, + "\n[debug] file: {file}" + ); let expected = load_file(format!("tests/features/output/{file}.basic.out",)); @@ -234,11 +131,7 @@ mod spec { .with_default_cli() .run(format!("tests/features/output/{file}")) .await; - fs::write( - format!("tests/features/output/{file}.colored.out"), - actual, - ).unwrap(); - // assert_eq!(actual, expected, "\n[colored] file: {file}"); + assert_eq!(actual, expected, "\n[colored] file: {file}"); } } } From 50541848ecfd74874dac3de8178f8351e6ee39a6 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Thu, 21 Sep 2023 09:25:17 -0500 Subject: [PATCH 07/24] Corrections [run ci] --- tests/output.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index bbc0f3d9..51bedcd2 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -70,7 +70,8 @@ mod spec { use super::{DebugWriter, World}; fn load_file(path: impl AsRef) -> Vec { - fs::read(path.as_ref()).unwrap_or_default() + let path = path.as_ref(); + fs::read(path).unwrap_or_else(|| panic!("Failed to load `{path}` file")) } #[tokio::test] @@ -93,7 +94,7 @@ mod spec { for file in files { let expected = - load_file(format!("tests/features/output/{file}.debug.out",)); + load_file(format!("tests/features/output/{file}.debug.out")); let debug = World::cucumber() .with_writer(DebugWriter::default().normalized()) .with_default_cli() @@ -106,7 +107,7 @@ mod spec { ); let expected = - load_file(format!("tests/features/output/{file}.basic.out",)); + load_file(format!("tests/features/output/{file}.basic.out")); let mut actual = Vec::new(); let _ = World::cucumber() .with_writer( @@ -120,7 +121,7 @@ mod spec { assert_eq!(actual, expected, "\n[basic] file: {file}"); let expected = - load_file(format!("tests/features/output/{file}.colored.out",)); + load_file(format!("tests/features/output/{file}.colored.out")); let mut actual = Vec::new(); let _ = World::cucumber() .with_writer( From 14590c52167486984e45828825bab2ec788114e4 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Thu, 21 Sep 2023 10:06:47 -0500 Subject: [PATCH 08/24] Corrections [run ci] --- tests/output.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index 51bedcd2..16550189 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -109,7 +109,7 @@ mod spec { let expected = load_file(format!("tests/features/output/{file}.basic.out")); let mut actual = Vec::new(); - let _ = World::cucumber() + _ = World::cucumber() .with_writer( writer::Basic::raw(&mut actual, Coloring::Never, 0) .discard_stats_writes() @@ -123,7 +123,7 @@ mod spec { let expected = load_file(format!("tests/features/output/{file}.colored.out")); let mut actual = Vec::new(); - let _ = World::cucumber() + _ = World::cucumber() .with_writer( writer::Basic::raw(&mut actual, Coloring::Always, 0) .discard_stats_writes() From a47803758e669f7ddbdef5113518d3ae1e5272a1 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Thu, 21 Sep 2023 21:08:34 -0500 Subject: [PATCH 09/24] Small correction [run ci] --- tests/output.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/output.rs b/tests/output.rs index 16550189..b341ea37 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -71,7 +71,8 @@ mod spec { fn load_file(path: impl AsRef) -> Vec { let path = path.as_ref(); - fs::read(path).unwrap_or_else(|| panic!("Failed to load `{path}` file")) + fs::read(path) + .unwrap_or_else(|_| panic!("Failed to load `{path}` file")) } #[tokio::test] From c188480cd11dea5d2ab3d9d1cc95bef706e4aaa8 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Fri, 22 Sep 2023 05:49:49 -0500 Subject: [PATCH 10/24] Fix paths in `parsing_failed.feature` [run ci] --- tests/features/output/parsing_failed.feature.basic.out | 2 +- tests/features/output/parsing_failed.feature.colored.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/features/output/parsing_failed.feature.basic.out b/tests/features/output/parsing_failed.feature.basic.out index 6af0916d..29e001e8 100644 --- a/tests/features/output/parsing_failed.feature.basic.out +++ b/tests/features/output/parsing_failed.feature.basic.out @@ -1 +1 @@ -Failed to parse: Failed to parse feature: Could not parse feature file: /Users/mihailbasilov/projects/cucumber/tests/features/output/parsing_failed.feature +Failed to parse: Failed to parse feature: Could not parse feature file: /home/runner/work/cucumber/cucumber/tests/features/output/parsing_failed.feature diff --git a/tests/features/output/parsing_failed.feature.colored.out b/tests/features/output/parsing_failed.feature.colored.out index 86967fc4..2d18bb06 100644 --- a/tests/features/output/parsing_failed.feature.colored.out +++ b/tests/features/output/parsing_failed.feature.colored.out @@ -1 +1 @@ -Failed to parse: Failed to parse feature: Could not parse feature file: /Users/mihailbasilov/projects/cucumber/tests/features/output/parsing_failed.feature +Failed to parse: Failed to parse feature: Could not parse feature file: /home/runner/work/cucumber/cucumber/tests/features/output/parsing_failed.feature From eb685d0369ad01484ac477a110c0294f9f5bb6bf Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Fri, 22 Sep 2023 08:54:53 -0500 Subject: [PATCH 11/24] Make tests output deterministic [run ci] --- .../output/parsing_failed.feature.basic.out | 2 +- .../output/parsing_failed.feature.colored.out | 2 +- tests/output.rs | 83 +++++++++++++++---- 3 files changed, 70 insertions(+), 17 deletions(-) diff --git a/tests/features/output/parsing_failed.feature.basic.out b/tests/features/output/parsing_failed.feature.basic.out index 29e001e8..66cf3bea 100644 --- a/tests/features/output/parsing_failed.feature.basic.out +++ b/tests/features/output/parsing_failed.feature.basic.out @@ -1 +1 @@ -Failed to parse: Failed to parse feature: Could not parse feature file: /home/runner/work/cucumber/cucumber/tests/features/output/parsing_failed.feature +Failed to parse: Failed to parse feature: Could not parse feature file: tests/features/output/parsing_failed.feature diff --git a/tests/features/output/parsing_failed.feature.colored.out b/tests/features/output/parsing_failed.feature.colored.out index 2d18bb06..c62a84ef 100644 --- a/tests/features/output/parsing_failed.feature.colored.out +++ b/tests/features/output/parsing_failed.feature.colored.out @@ -1 +1 @@ -Failed to parse: Failed to parse feature: Could not parse feature file: /home/runner/work/cucumber/cucumber/tests/features/output/parsing_failed.feature +Failed to parse: Failed to parse feature: Could not parse feature file: tests/features/output/parsing_failed.feature diff --git a/tests/output.rs b/tests/output.rs index b341ea37..8256d9f5 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -59,20 +59,73 @@ static SPAN_OR_PATH_RE: &Lazy = regex!( #[cfg(test)] mod spec { - use std::fs; + use std::{fmt, fs, io}; use cucumber::{ writer::{self, Coloring}, World as _, WriterExt as _, }; use globwalk::GlobWalkerBuilder; + use lazy_regex::regex; + use once_cell::sync::Lazy; + use regex::Regex; use super::{DebugWriter, World}; - fn load_file(path: impl AsRef) -> Vec { + /// [`Regex`] to make `cargo careful` assertion output match `cargo test` + /// output. + static CAREFUL_ASSERTION: &Lazy = regex!( + "assertion `left == right` failed:\ + \n(.*)\ + \n\tleft: (.*)\ + \n\tright: (.*)" + ); + + /// Format to replace [`CAREFUL_ASSERTION`] with. + const STD_ASSERTION: &str = "\ + assertion failed: `(left == right)`:\ + \n$1\ + \n\tleft: `$2`,\ + \n\tright: `$3`\ + "; + + /// [`Regex`] to transform full paths to relative paths. + static FULL_PATH: &Lazy = + regex!("/(.*)/tests/features/output/(\\S+).feature"); + + /// Format to replace [`FULL_PATH`] with. + const RELATIVE_PATH: &str = "tests/features/output/$2.feature"; + + /// Deterministic output of [`writer::Basic`]. + #[derive(Clone, Debug, Default)] + struct Output(Vec); + + impl io::Write for Output { + fn write(&mut self, buf: &[u8]) -> io::Result { + self.0.extend_from_slice(buf); + Ok(buf.len()) + } + + fn flush(&mut self) -> io::Result<()> { + Ok(()) + } + } + + impl fmt::Display for Output { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + let o = String::from_utf8(self.0.clone()) + .unwrap_or_else(|e| panic!("`Output` is not a string: {e}")); + let o = CAREFUL_ASSERTION.replace_all(&o, STD_ASSERTION); + let o = FULL_PATH.replace_all(&o, RELATIVE_PATH); + write!(f, "{o}") + } + } + + /// Loads a file from the file system as a string. + fn load_file(path: impl AsRef) -> String { let path = path.as_ref(); - fs::read(path) - .unwrap_or_else(|_| panic!("Failed to load `{path}` file")) + fs::read_to_string(path) + .unwrap_or_else(|e| panic!("Failed to load `{path}` file: {e}")) } #[tokio::test] @@ -101,39 +154,39 @@ mod spec { .with_default_cli() .run(format!("tests/features/output/{file}")) .await; - assert_eq!( - debug.output.clone().into_bytes(), - expected, - "\n[debug] file: {file}" - ); + assert_eq!(expected, debug.output, "\n[debug] file: {file}"); let expected = load_file(format!("tests/features/output/{file}.basic.out")); - let mut actual = Vec::new(); + let mut output = Output::default(); _ = World::cucumber() .with_writer( - writer::Basic::raw(&mut actual, Coloring::Never, 0) + writer::Basic::raw(&mut output, Coloring::Never, 0) .discard_stats_writes() .normalized(), ) .with_default_cli() .run(format!("tests/features/output/{file}")) .await; - assert_eq!(actual, expected, "\n[basic] file: {file}"); + assert_eq!(expected, output.to_string(), "\n[basic] file: {file}"); let expected = load_file(format!("tests/features/output/{file}.colored.out")); - let mut actual = Vec::new(); + let mut output = Output::default(); _ = World::cucumber() .with_writer( - writer::Basic::raw(&mut actual, Coloring::Always, 0) + writer::Basic::raw(&mut output, Coloring::Always, 0) .discard_stats_writes() .normalized(), ) .with_default_cli() .run(format!("tests/features/output/{file}")) .await; - assert_eq!(actual, expected, "\n[colored] file: {file}"); + assert_eq!( + expected, + output.to_string(), + "\n[colored] file: {file}" + ); } } } From ea7baa155f9400dd7d6ef3e4693e8537476c0311 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Fri, 22 Sep 2023 12:12:52 -0500 Subject: [PATCH 12/24] Fix newlines difference [run ci] --- tests/output.rs | 49 +++++++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index 8256d9f5..c6e83389 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -68,27 +68,10 @@ mod spec { use globwalk::GlobWalkerBuilder; use lazy_regex::regex; use once_cell::sync::Lazy; - use regex::Regex; + use regex::{Captures, Match, Regex}; use super::{DebugWriter, World}; - /// [`Regex`] to make `cargo careful` assertion output match `cargo test` - /// output. - static CAREFUL_ASSERTION: &Lazy = regex!( - "assertion `left == right` failed:\ - \n(.*)\ - \n\tleft: (.*)\ - \n\tright: (.*)" - ); - - /// Format to replace [`CAREFUL_ASSERTION`] with. - const STD_ASSERTION: &str = "\ - assertion failed: `(left == right)`:\ - \n$1\ - \n\tleft: `$2`,\ - \n\tright: `$3`\ - "; - /// [`Regex`] to transform full paths to relative paths. static FULL_PATH: &Lazy = regex!("/(.*)/tests/features/output/(\\S+).feature"); @@ -96,6 +79,31 @@ mod spec { /// Format to replace [`FULL_PATH`] with. const RELATIVE_PATH: &str = "tests/features/output/$2.feature"; + /// [`Regex`] to make `cargo careful` assertion output match `cargo test` + /// output. + static CAREFUL_ASSERTION: &Lazy = regex!( + "assertion `left == right` failed(:)?\ + (.*)\ + \n(\\s+)left: (.+)\ + \n(\\s+)right: (\\w+)" + ); + + /// Replaces [`CAREFUL_ASSERTION`] with `cargo test` output. + fn unify_asserts(cap: &Captures<'_>) -> String { + format!( + "assertion failed: `(left == right)`{}\ + {}\ + \n{}left: `{}`,\ + \n{}right: `{}`", + cap.get(1).as_ref().map_or("", Match::as_str), + &cap[2], + &cap[3], + &cap[4], + &cap[5], + &cap[6], + ) + } + /// Deterministic output of [`writer::Basic`]. #[derive(Clone, Debug, Default)] struct Output(Vec); @@ -114,8 +122,9 @@ mod spec { impl fmt::Display for Output { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let o = String::from_utf8(self.0.clone()) - .unwrap_or_else(|e| panic!("`Output` is not a string: {e}")); - let o = CAREFUL_ASSERTION.replace_all(&o, STD_ASSERTION); + .unwrap_or_else(|e| panic!("`Output` is not a string: {e}")) + .replace("\r\n", "\n"); + let o = CAREFUL_ASSERTION.replace_all(&o, unify_asserts); let o = FULL_PATH.replace_all(&o, RELATIVE_PATH); write!(f, "{o}") } From 1dfca1160c3134692a753f774611955933ff2eb2 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Fri, 22 Sep 2023 12:45:37 -0500 Subject: [PATCH 13/24] Fix windows newlines [run ci] --- tests/output.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index c6e83389..022b73fc 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -122,8 +122,7 @@ mod spec { impl fmt::Display for Output { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let o = String::from_utf8(self.0.clone()) - .unwrap_or_else(|e| panic!("`Output` is not a string: {e}")) - .replace("\r\n", "\n"); + .unwrap_or_else(|e| panic!("`Output` is not a string: {e}")); let o = CAREFUL_ASSERTION.replace_all(&o, unify_asserts); let o = FULL_PATH.replace_all(&o, RELATIVE_PATH); write!(f, "{o}") @@ -135,6 +134,8 @@ mod spec { let path = path.as_ref(); fs::read_to_string(path) .unwrap_or_else(|e| panic!("Failed to load `{path}` file: {e}")) + .lines() + .collect::() } #[tokio::test] From d1a2afc2aa8d763eec3cda9d5bb63a4d17c15d48 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Fri, 22 Sep 2023 13:23:55 -0500 Subject: [PATCH 14/24] Fix trailing newline [run ci] --- tests/output.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index 022b73fc..ba58d1e6 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -134,8 +134,7 @@ mod spec { let path = path.as_ref(); fs::read_to_string(path) .unwrap_or_else(|e| panic!("Failed to load `{path}` file: {e}")) - .lines() - .collect::() + .replace("\r\n", "\n") } #[tokio::test] From 22b90178f00016c4efda9cdc48570ba619a1f522 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Fri, 22 Sep 2023 14:24:50 -0500 Subject: [PATCH 15/24] Fix full path detection on windows systems [run ci] --- tests/output.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index ba58d1e6..105e2f13 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -72,12 +72,15 @@ mod spec { use super::{DebugWriter, World}; - /// [`Regex`] to transform full paths to relative paths. - static FULL_PATH: &Lazy = - regex!("/(.*)/tests/features/output/(\\S+).feature"); + /// [`Regex`] to transform full paths (both unix-like and windows) to a + /// relative paths. + static FULL_PATH: &Lazy = regex!( + "(?:\\?\\\\\\\\|\\/).*(?:\\\\\\\\|\\/)tests(?:\\\\\\\\|\\/)\ + features(?:\\\\\\\\|\\/)output(?:\\\\\\\\|\\/)(\\S+)\\.feature" + ); /// Format to replace [`FULL_PATH`] with. - const RELATIVE_PATH: &str = "tests/features/output/$2.feature"; + const RELATIVE_PATH: &str = "tests/features/output/$1.feature"; /// [`Regex`] to make `cargo careful` assertion output match `cargo test` /// output. From a950ea565a1ec55d83dc6598d8f9a7a7a9efba7a Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Fri, 22 Sep 2023 15:05:28 -0500 Subject: [PATCH 16/24] Remove extra backslashes from full path detection regex [run ci] --- tests/output.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index 105e2f13..e81416d1 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -75,8 +75,8 @@ mod spec { /// [`Regex`] to transform full paths (both unix-like and windows) to a /// relative paths. static FULL_PATH: &Lazy = regex!( - "(?:\\?\\\\\\\\|\\/).*(?:\\\\\\\\|\\/)tests(?:\\\\\\\\|\\/)\ - features(?:\\\\\\\\|\\/)output(?:\\\\\\\\|\\/)(\\S+)\\.feature" + "(?:\\?\\\\|\\/).*(?:\\\\|\\/)tests(?:\\\\|\\/)\ + features(?:\\\\|\\/)output(?:\\\\|\\/)(\\S+)\\.feature" ); /// Format to replace [`FULL_PATH`] with. From 3e43aba2258410b1d1b4313055426e8134d6af13 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Fri, 22 Sep 2023 15:05:46 -0500 Subject: [PATCH 17/24] Minor correction [run ci] --- tests/output.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index e81416d1..3f8e6f5c 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -75,8 +75,8 @@ mod spec { /// [`Regex`] to transform full paths (both unix-like and windows) to a /// relative paths. static FULL_PATH: &Lazy = regex!( - "(?:\\?\\\\|\\/).*(?:\\\\|\\/)tests(?:\\\\|\\/)\ - features(?:\\\\|\\/)output(?:\\\\|\\/)(\\S+)\\.feature" + "(?:\\?\\\\|\\/).*(?:\\\\|\\/)tests(?:\\\\|\\/)features(?:\\\\|\\/)\ + output(?:\\\\|\\/)(\\S+)\\.feature" ); /// Format to replace [`FULL_PATH`] with. From 3b919e7a3192ff234167c20d9c53269be7ef1017 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Sun, 24 Sep 2023 23:30:37 -0500 Subject: [PATCH 18/24] Unify relative path separators [run ci] --- tests/output.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index 3f8e6f5c..063e8e1c 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -75,12 +75,13 @@ mod spec { /// [`Regex`] to transform full paths (both unix-like and windows) to a /// relative paths. static FULL_PATH: &Lazy = regex!( - "(?:\\?\\\\|\\/).*(?:\\\\|\\/)tests(?:\\\\|\\/)features(?:\\\\|\\/)\ - output(?:\\\\|\\/)(\\S+)\\.feature" + "(?:(?:\\?\\\\|\\/).*(?:\\\\|\\/))?tests((?:\\\\|\\/)(?:\\w*))*" ); - /// Format to replace [`FULL_PATH`] with. - const RELATIVE_PATH: &str = "tests/features/output/$1.feature"; + /// Replaces [`FULL_PATH`] with a relative path. + fn relative_path(cap: &Captures<'_>) -> String { + format!("tests{}", &cap[1].replace("\\", "/")) + } /// [`Regex`] to make `cargo careful` assertion output match `cargo test` /// output. @@ -127,7 +128,7 @@ mod spec { let o = String::from_utf8(self.0.clone()) .unwrap_or_else(|e| panic!("`Output` is not a string: {e}")); let o = CAREFUL_ASSERTION.replace_all(&o, unify_asserts); - let o = FULL_PATH.replace_all(&o, RELATIVE_PATH); + let o = FULL_PATH.replace_all(&o, relative_path); write!(f, "{o}") } } From 5e37c7079bb20147425adbf38991ba5a8778364a Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Mon, 25 Sep 2023 06:01:23 -0500 Subject: [PATCH 19/24] Fix full path regex [run ci] --- tests/output.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index 063e8e1c..bbe74f52 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -74,13 +74,17 @@ mod spec { /// [`Regex`] to transform full paths (both unix-like and windows) to a /// relative paths. - static FULL_PATH: &Lazy = regex!( - "(?:(?:\\?\\\\|\\/).*(?:\\\\|\\/))?tests((?:\\\\|\\/)(?:\\w*))*" - ); + static FULL_PATH: &Lazy = + regex!("(?:(?:\\?\\\\|\\/).*(?:\\\\|\\/))?tests((?:\\\\|\\/)\\w*)?"); /// Replaces [`FULL_PATH`] with a relative path. fn relative_path(cap: &Captures<'_>) -> String { - format!("tests{}", &cap[1].replace("\\", "/")) + format!( + "tests{}", + cap.get(1).map_or_else(String::new, |m| { + m.as_str().replace('\\', "/") + }) + ) } /// [`Regex`] to make `cargo careful` assertion output match `cargo test` From 040a1c9502e3391fd23b7bd6eaeed5da965be857 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Mon, 25 Sep 2023 06:12:04 -0500 Subject: [PATCH 20/24] Fix full path regex [run ci] --- tests/output.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index bbe74f52..a4b2456a 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -66,6 +66,7 @@ mod spec { World as _, WriterExt as _, }; use globwalk::GlobWalkerBuilder; + use itertools::Itertools; use lazy_regex::regex; use once_cell::sync::Lazy; use regex::{Captures, Match, Regex}; @@ -75,15 +76,16 @@ mod spec { /// [`Regex`] to transform full paths (both unix-like and windows) to a /// relative paths. static FULL_PATH: &Lazy = - regex!("(?:(?:\\?\\\\|\\/).*(?:\\\\|\\/))?tests((?:\\\\|\\/)\\w*)?"); + regex!("((\\?\\\\|\\/).*(\\\\|\\/))?tests((\\\\|\\/)\\w*)*"); /// Replaces [`FULL_PATH`] with a relative path. fn relative_path(cap: &Captures<'_>) -> String { format!( "tests{}", - cap.get(1).map_or_else(String::new, |m| { - m.as_str().replace('\\', "/") - }) + cap[0].split("tests") + .skip(1) + .join("tests") + .replace('\\', "/") ) } From da7cb32209467494a271f5a904ece4f23c059388 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Mon, 25 Sep 2023 06:12:11 -0500 Subject: [PATCH 21/24] Fix full path regex [run ci] --- tests/output.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/output.rs b/tests/output.rs index a4b2456a..c919aa59 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -82,7 +82,8 @@ mod spec { fn relative_path(cap: &Captures<'_>) -> String { format!( "tests{}", - cap[0].split("tests") + cap[0] + .split("tests") .skip(1) .join("tests") .replace('\\', "/") From ded6506bdc45170205827492ea4639f1e50ffab8 Mon Sep 17 00:00:00 2001 From: 50U10FCA7 Date: Mon, 25 Sep 2023 07:07:38 -0500 Subject: [PATCH 22/24] Fix full path regex [run ci] --- tests/libtest.rs | 1 - tests/output.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/libtest.rs b/tests/libtest.rs index 0ce08b7e..6ffd4786 100644 --- a/tests/libtest.rs +++ b/tests/libtest.rs @@ -68,7 +68,6 @@ async fn output_report_time() { // Required to strip out non-deterministic parts of output, so we could // compare them well. - // let non_deterministic = Regex::new( let non_deterministic = Regex::new( "\":\\d+\\.\\d+\ |([^\"\\n\\s]*)[/\\\\]([A-z1-9-_]*)\\.(feature|rs)(:\\d+:\\d+)?\ diff --git a/tests/output.rs b/tests/output.rs index c919aa59..d48dac7c 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -76,7 +76,7 @@ mod spec { /// [`Regex`] to transform full paths (both unix-like and windows) to a /// relative paths. static FULL_PATH: &Lazy = - regex!("((\\?\\\\|\\/).*(\\\\|\\/))?tests((\\\\|\\/)\\w*)*"); + regex!("((\\?|\\\\|\\/).*(\\\\|\\/))?tests((\\\\|\\/)\\w*)*"); /// Replaces [`FULL_PATH`] with a relative path. fn relative_path(cap: &Captures<'_>) -> String { From 655371e6018f167568ab4e50ee78274598b8de15 Mon Sep 17 00:00:00 2001 From: tyranron Date: Mon, 16 Oct 2023 17:43:45 +0300 Subject: [PATCH 23/24] Minor correction --- tests/output.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/output.rs b/tests/output.rs index d48dac7c..cbc3d856 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -90,7 +90,7 @@ mod spec { ) } - /// [`Regex`] to make `cargo careful` assertion output match `cargo test` + /// [`Regex`] to make `cargo careful` assertion output to match `cargo test` /// output. static CAREFUL_ASSERTION: &Lazy = regex!( "assertion `left == right` failed(:)?\ @@ -205,7 +205,7 @@ mod spec { assert_eq!( expected, output.to_string(), - "\n[colored] file: {file}" + "\n[colored] file: {file}", ); } } From 1096da279509eb580342f9307809795d96cd8f84 Mon Sep 17 00:00:00 2001 From: tyranron Date: Mon, 16 Oct 2023 17:56:21 +0300 Subject: [PATCH 24/24] Mention in CHANGELOG --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25732391..547307b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,11 +14,12 @@ All user visible changes to `cucumber` crate will be documented in this file. Th ### Fixed - Incorrect terminal width detection when its height is low. ([#298]) -- Incorrect terminal lines clearing in interactive mode. ([#300], [#299]) +- Incorrect terminal lines clearing in interactive mode. ([#300], [#302], [#299]) [#298]: /../../pull/298 [#299]: /../../issues/299 [#300]: /../../pull/300 +[#302]: /../../pull/302