diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3f6ba50..6ac6cd3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,7 @@ jobs: strategy: fail-fast: false matrix: - msrv: ["1.70.0"] + msrv: ["1.75.0"] crate: - cucumber-codegen - cucumber diff --git a/CHANGELOG.md b/CHANGELOG.md index 25a41573..8dca391c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,21 @@ All user visible changes to `cucumber` crate will be documented in this file. Th +## [0.21.0] · 2024-??-?? (unreleased) +[0.21.0]: /../../tree/v0.21.0 + +[Diff](/../../compare/v0.20.2...v0.21.0) | [Milestone](/../../milestone/26) + +### BC Breaks + +- Removed `#[async_trait]` attribute from `World`, `Writer` and `writer::Arbitrary` traits. ([#324]) +- Bumped up [MSRV] to 1.75 for using `async fn` in traits. ([#324]) + +[#324]: /../../pull/324 + + + + ## [0.20.2] · 2023-12-04 [0.20.2]: /../../tree/v0.20.2 diff --git a/Cargo.toml b/Cargo.toml index 839bdf80..fc9a1e60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "cucumber" version = "0.20.2" edition = "2021" -rust-version = "1.70" +rust-version = "1.75" description = """\ Cucumber testing framework for Rust, with async support. \ Fully native, no external test runners or dependencies.\ @@ -63,7 +63,6 @@ timestamps = [] tracing = ["dep:crossbeam-utils", "dep:tracing", "dep:tracing-subscriber"] [dependencies] -async-trait = "0.1.43" clap = { version = "4.3.2", features = ["derive", "wrap_help"] } console = "0.15" derive_more = { version = "0.99.17", features = ["as_ref", "deref", "deref_mut", "display", "error", "from", "from_str", "into"], default_features = false } diff --git a/README.md b/README.md index e69a1779..454a1d81 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Cucumber testing framework for Rust =================================== [![crates.io](https://img.shields.io/crates/v/cucumber.svg?maxAge=2592000 "crates.io")](https://crates.io/crates/cucumber) -[![Rust 1.70+](https://img.shields.io/badge/rustc-1.70+-lightgray.svg "Rust 1.70+")](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html) +[![Rust 1.75+](https://img.shields.io/badge/rustc-1.75+-lightgray.svg "Rust 1.75")](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html) [![Unsafe Forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg "Unsafe forbidden")](https://github.com/rust-secure-code/safety-dance) [![CI](https://github.com/cucumber-rs/cucumber/workflows/CI/badge.svg?branch=main "CI")](https://github.com/cucumber-rs/cucumber/actions?query=workflow%3ACI+branch%3Amain) [![Rust docs](https://docs.rs/cucumber/badge.svg "Rust docs")](https://docs.rs/cucumber) diff --git a/book/src/architecture/writer.md b/book/src/architecture/writer.md index ad42d7ec..15affc4d 100644 --- a/book/src/architecture/writer.md +++ b/book/src/architecture/writer.md @@ -6,7 +6,6 @@ Finally, let's implement a custom [`Writer`] which simply outputs [cucumber even [`Writer`] represents anything that consumes a [`Stream`] of [cucumber events][`event::Cucumber`]. ```rust -# extern crate async_trait; # extern crate cucumber; # extern crate futures; # extern crate once_cell; @@ -19,7 +18,6 @@ Finally, let's implement a custom [`Writer`] which simply outputs [cucumber even # time::Duration, # }; # -# use async_trait::async_trait; # use cucumber::{ # cli, event, gherkin, given, parser, step, then, when, Event, World, # WriterExt as _, @@ -244,7 +242,6 @@ Finally, let's implement a custom [`Writer`] which simply outputs [cucumber even # struct CustomWriter; -#[async_trait(?Send)] impl cucumber::Writer for CustomWriter { type Cli = cli::Empty; // we provide no CLI options @@ -299,14 +296,12 @@ async fn main() { > __TIP__: `CustomWriter` will print trash if we feed unordered [`event::Cucumber`]s into it. Though, we shouldn't care about order normalization in our implementations. Instead, we may just wrap `CustomWriter` into [`writer::Normalize`], which will do that for us. ```rust -# extern crate async_trait; # extern crate cucumber; # extern crate futures; # extern crate tokio; # # use std::{path::PathBuf, time::Duration}; # -# use async_trait::async_trait; # use cucumber::{ # cli, event, gherkin, given, parser, then, when, Event, World, # WriterExt as _, @@ -418,7 +413,6 @@ async fn main() { # # struct CustomWriter; # -# #[async_trait(?Send)] # impl cucumber::Writer for CustomWriter { # type Cli = cli::Empty; // we provide no CLI options # diff --git a/codegen/CHANGELOG.md b/codegen/CHANGELOG.md index be0a1b71..228f6ac8 100644 --- a/codegen/CHANGELOG.md +++ b/codegen/CHANGELOG.md @@ -6,6 +6,20 @@ All user visible changes to `cucumber-codegen` crate will be documented in this +## [0.21.0] · 2024-??-?? (unreleased) +[0.21.0]: /../../tree/v0.20.0/codegen + +[Milestone](/../../milestone/26) + +### BC Breaks + +- Bumped up [MSRV] to 1.75 for using `async fn` in traits. ([#324]) + +[#324]: /../../pull/324 + + + + ## [0.20.2] · 2023-12-04 [0.20.2]: /../../tree/v0.20.2/codegen diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 648f527f..d877d74c 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -2,7 +2,7 @@ name = "cucumber-codegen" version = "0.20.2" # should be the same as main crate version edition = "2021" -rust-version = "1.70" +rust-version = "1.75" description = "Code generation for `cucumber` crate." license = "MIT OR Apache-2.0" authors = [ @@ -31,7 +31,6 @@ syn = { version = "2.0", features = ["derive", "extra-traits", "full"] } synthez = "0.3" [dev-dependencies] -async-trait = "0.1" cucumber = { path = "..", features = ["libtest", "macros"] } derive_more = "0.99.17" futures = "0.3.17" diff --git a/codegen/README.md b/codegen/README.md index 5e7b50f5..a20acb24 100644 --- a/codegen/README.md +++ b/codegen/README.md @@ -2,7 +2,7 @@ ======================== [![crates.io](https://img.shields.io/crates/v/cucumber-codegen.svg?maxAge=2592000 "crates.io")](https://crates.io/crates/cucumber-codegen) -[![Rust 1.70+](https://img.shields.io/badge/rustc-1.70+-lightgray.svg "Rust 1.70+")](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html) +[![Rust 1.75+](https://img.shields.io/badge/rustc-1.75+-lightgray.svg "Rust 1.75")](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html) [![Unsafe Forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg "Unsafe forbidden")](https://github.com/rust-secure-code/safety-dance) [![CI](https://github.com/cucumber-rs/cucumber/workflows/CI/badge.svg?branch=main "CI")](https://github.com/cucumber-rs/cucumber/actions?query=workflow%3ACI+branch%3Amain) [![Rust docs](https://docs.rs/cucumber-codegen/badge.svg "Rust docs")](https://docs.rs/cucumber-codegen) diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index 2acda1d3..c69e7f1f 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -161,17 +161,6 @@ mod world; use proc_macro::TokenStream; -// TODO: Remove once tests run without complains about it. -#[cfg(test)] -mod actually_used_crates_in_tests { - use async_trait as _; - use cucumber as _; - use derive_more as _; - use futures as _; - use tempfile as _; - use tokio as _; -} - /// Helper macro for generating public shims for [`macro@given`], [`macro@when`] /// and [`macro@then`] attributes. macro_rules! step_attribute { diff --git a/codegen/src/world.rs b/codegen/src/world.rs index 0d889379..3bc9237a 100644 --- a/codegen/src/world.rs +++ b/codegen/src/world.rs @@ -119,7 +119,6 @@ impl Definition { quote! { #[automatically_derived] - #[::cucumber::codegen::async_trait(?Send)] impl #impl_gens ::cucumber::World for #world #ty_gens #where_clause { @@ -219,7 +218,6 @@ mod spec { } #[automatically_derived] - #[::cucumber::codegen::async_trait(?Send)] impl ::cucumber::World for World { type Error = ::cucumber::codegen::anyhow::Error; @@ -349,7 +347,6 @@ mod spec { } #[automatically_derived] - #[::cucumber::codegen::async_trait(?Send)] impl ::cucumber::World for World { type Error = ::cucumber::codegen::anyhow::Error; @@ -480,7 +477,6 @@ mod spec { } #[automatically_derived] - #[::cucumber::codegen::async_trait(?Send)] impl ::cucumber::World for World { type Error = ::cucumber::codegen::anyhow::Error; diff --git a/src/cli.rs b/src/cli.rs index a0ee9286..c6bcf6e1 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -182,7 +182,6 @@ impl Colored for Empty {} /// This struct is especially useful, when implementing custom [`Writer`] /// wrapping another one: /// ```rust -/// # use async_trait::async_trait; /// # use cucumber::{cli, event, parser, writer, Event, World, Writer}; /// # /// struct CustomWriter(Wr); @@ -193,7 +192,6 @@ impl Colored for Empty {} /// custom_option: Option, /// } /// -/// #[async_trait(?Send)] /// impl Writer for CustomWriter /// where /// W: World, @@ -216,17 +214,12 @@ impl Colored for Empty {} /// /// impl cli::Colored for Cli {} /// -/// #[async_trait(?Send)] -/// impl<'val, W, Wr, Val> writer::Arbitrary<'val, W, Val> for CustomWriter +/// impl writer::Arbitrary for CustomWriter /// where -/// Wr: writer::Arbitrary<'val, W, Val>, -/// Val: 'val, +/// Wr: writer::Arbitrary, /// Self: Writer, /// { -/// async fn write(&mut self, val: Val) -/// where -/// 'val: 'async_trait, -/// { +/// async fn write(&mut self, val: Val) { /// self.0.write(val).await; /// } /// } diff --git a/src/codegen.rs b/src/codegen.rs index 6a92c6ca..54874652 100644 --- a/src/codegen.rs +++ b/src/codegen.rs @@ -17,7 +17,6 @@ use futures::future; use crate::{step, Step, World}; pub use anyhow; -pub use async_trait::async_trait; pub use cucumber_expressions::{ expand::parameters::Provider as ParametersProvider, Expression, Spanned, }; @@ -112,12 +111,9 @@ pub const fn str_eq(l: &str, r: &str) -> bool { /// argument, by automatically wrapping sync functions in a [`future::Ready`]. /// /// ```rust -/// # use async_trait::async_trait; -/// # /// # #[derive(Default)] /// # struct World; /// # -/// #[async_trait(?Send)] /// impl cucumber::World for World { /// type Error = anyhow::Error; /// @@ -180,12 +176,9 @@ where /// functions in a [`Result`]`<`[`World`]`, `[`Infallible`]`>`. /// /// ```rust -/// # use async_trait::async_trait; -/// # /// # #[derive(Default)] /// # struct World; /// # -/// #[async_trait(?Send)] /// impl cucumber::World for World { /// type Error = anyhow::Error; /// diff --git a/src/lib.rs b/src/lib.rs index 192918c0..a9a20862 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -182,11 +182,9 @@ mod actually_used_crates_in_tests_and_book { use tokio as _; } -use std::fmt::Display; #[cfg(feature = "macros")] use std::{fmt::Debug, path::Path}; - -use async_trait::async_trait; +use std::{fmt::Display, future::Future}; #[cfg(feature = "macros")] use self::{ @@ -229,13 +227,12 @@ pub use self::{ /// [1]: https://docs.rs/once_cell /// [2]: https://doc.rust-lang.org/book/ch16-03-shared-state.html /// [Cucumber]: https://cucumber.io -#[async_trait(?Send)] pub trait World: Sized + 'static { /// Error of creating a new [`World`] instance. type Error: Display; /// Creates a new [`World`] instance. - async fn new() -> Result; + fn new() -> impl Future>; #[cfg(feature = "macros")] /// Returns runner for tests with auto-wired steps marked by [`given`], @@ -287,11 +284,11 @@ pub trait World: Sized + 'static { /// [`Step`] panicked. /// /// [`Feature`]: gherkin::Feature - async fn run>(input: I) + fn run>(input: I) -> impl Future where Self: Debug + WorldInventory, { - Self::cucumber().run_and_exit(input).await; + Self::cucumber().run_and_exit(input) } #[cfg(feature = "macros")] @@ -308,7 +305,7 @@ pub trait World: Sized + 'static { /// [`Feature`]: gherkin::Feature /// [`Scenario`]: gherkin::Scenario /// [`Step`]: gherkin::Step - async fn filter_run(input: I, filter: F) + fn filter_run(input: I, filter: F) -> impl Future where Self: Debug + WorldInventory, I: AsRef, @@ -319,6 +316,6 @@ pub trait World: Sized + 'static { ) -> bool + 'static, { - Self::cucumber().filter_run_and_exit(input, filter).await; + Self::cucumber().filter_run_and_exit(input, filter) } } diff --git a/src/writer/basic.rs b/src/writer/basic.rs index 3395c99c..c44ffcf8 100644 --- a/src/writer/basic.rs +++ b/src/writer/basic.rs @@ -18,7 +18,6 @@ use std::{ str::FromStr, }; -use async_trait::async_trait; use derive_more::{Deref, DerefMut}; use itertools::Itertools as _; use once_cell::sync::Lazy; @@ -132,7 +131,6 @@ pub struct Basic { verbosity: Verbosity, } -#[async_trait(?Send)] impl Writer for Basic where W: World + Debug, @@ -163,23 +161,19 @@ where Feature::Finished => Ok(()), }, } - .unwrap_or_else(|e| panic!("Failed to write into terminal: {e}")); + .unwrap_or_else(|e| panic!("failed to write into terminal: {e}")); } } -#[async_trait(?Send)] -impl<'val, W, Val, Out> writer::Arbitrary<'val, W, Val> for Basic +impl writer::Arbitrary for Basic where W: World + Debug, - Val: AsRef + 'val, + Val: AsRef, Out: io::Write, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { self.write_line(val.as_ref()) - .unwrap_or_else(|e| panic!("Failed to write: {e}")); + .unwrap_or_else(|e| panic!("failed to write: {e}")); } } diff --git a/src/writer/discard.rs b/src/writer/discard.rs index 7578d10f..a046b537 100644 --- a/src/writer/discard.rs +++ b/src/writer/discard.rs @@ -10,7 +10,6 @@ //! Wrappers providing no-op implementations. -use async_trait::async_trait; use derive_more::{Deref, DerefMut}; use crate::{event::Cucumber, parser, writer, Event, World, Writer}; @@ -25,7 +24,6 @@ use crate::{event::Cucumber, parser, writer, Event, World, Writer}; pub struct Arbitrary(Wr); #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] impl + ?Sized> Writer for Arbitrary { type Cli = Wr::Cli; @@ -39,18 +37,17 @@ impl + ?Sized> Writer for Arbitrary { } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] -impl<'val, W, Val, Wr> writer::Arbitrary<'val, W, Val> for Arbitrary +impl writer::Arbitrary for Arbitrary where - Val: 'val, Wr: ?Sized, Self: Writer, { /// Does nothing. - async fn write(&mut self, _: Val) - where - 'val: 'async_trait, - { + async fn write( + &mut self, + #[allow(clippy::let_underscore_untyped)] // false positive + _: Val, + ) { // Intentionally no-op. } } @@ -116,7 +113,6 @@ impl Arbitrary { pub struct Stats(Wr); #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] impl + ?Sized> Writer for Stats { type Cli = Wr::Cli; @@ -130,17 +126,12 @@ impl + ?Sized> Writer for Stats { } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] -impl<'val, W, Val, Wr> writer::Arbitrary<'val, W, Val> for Stats +impl writer::Arbitrary for Stats where - Val: 'val, - Wr: writer::Arbitrary<'val, W, Val> + ?Sized, + Wr: writer::Arbitrary + ?Sized, Self: Writer, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { self.0.write(val).await; } } diff --git a/src/writer/fail_on_skipped.rs b/src/writer/fail_on_skipped.rs index f182562a..47bf3468 100644 --- a/src/writer/fail_on_skipped.rs +++ b/src/writer/fail_on_skipped.rs @@ -16,7 +16,6 @@ use std::sync::Arc; -use async_trait::async_trait; use derive_more::Deref; use crate::{event, parser, writer, Event, World, Writer}; @@ -48,7 +47,6 @@ pub struct FailOnSkipped { pub type SkipFn = fn(&gherkin::Feature, Option<&gherkin::Rule>, &gherkin::Scenario) -> bool; -#[async_trait(?Send)] impl Writer for FailOnSkipped where W: World, @@ -152,19 +150,13 @@ where } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] -impl<'val, W, Wr, Val, F> writer::Arbitrary<'val, W, Val> - for FailOnSkipped +impl writer::Arbitrary for FailOnSkipped where W: World, Self: Writer, - Wr: writer::Arbitrary<'val, W, Val>, - Val: 'val, + Wr: writer::Arbitrary, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { self.writer.write(val).await; } } diff --git a/src/writer/json.rs b/src/writer/json.rs index b81806b3..2f935688 100644 --- a/src/writer/json.rs +++ b/src/writer/json.rs @@ -18,7 +18,6 @@ use std::{ time::SystemTime, }; -use async_trait::async_trait; use base64::Engine as _; use derive_more::Display; use inflector::Inflector as _; @@ -72,13 +71,13 @@ pub struct Json { logs: Vec, } -#[async_trait(?Send)] impl Writer for Json { type Cli = cli::Empty; async fn handle_event( &mut self, event: parser::Result>>, + #[allow(clippy::let_underscore_untyped)] // false positive _: &Self::Cli, ) { use event::{Cucumber, Rule}; diff --git a/src/writer/junit.rs b/src/writer/junit.rs index a5bf9103..955f2489 100644 --- a/src/writer/junit.rs +++ b/src/writer/junit.rs @@ -14,7 +14,6 @@ use std::{fmt::Debug, io, mem, time::SystemTime}; -use async_trait::async_trait; use junit_report::{ Duration, Report, TestCase, TestCaseBuilder, TestSuite, TestSuiteBuilder, }; @@ -104,7 +103,6 @@ impl Clone for JUnit { } } -#[async_trait(?Send)] impl Writer for JUnit where W: World + Debug, diff --git a/src/writer/libtest.rs b/src/writer/libtest.rs index a6ac1040..7c219d75 100644 --- a/src/writer/libtest.rs +++ b/src/writer/libtest.rs @@ -19,7 +19,6 @@ use std::{ time::{Duration, SystemTime}, }; -use async_trait::async_trait; use derive_more::From; use either::Either; use itertools::Itertools as _; @@ -223,7 +222,6 @@ impl Clone for Libtest { } } -#[async_trait(?Send)] impl Writer for Libtest { type Cli = Cli; @@ -813,20 +811,16 @@ where } } -#[async_trait(?Send)] -impl<'val, W, Val, Out> Arbitrary<'val, W, Val> for Libtest +impl Arbitrary for Libtest where W: World + Debug, - Val: AsRef + 'val, + Val: AsRef, Out: io::Write, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { self.output .write_line(val.as_ref()) - .unwrap_or_else(|e| panic!("Failed to write: {e}")); + .unwrap_or_else(|e| panic!("failed to write: {e}")); } } diff --git a/src/writer/mod.rs b/src/writer/mod.rs index 71a93ced..4d34b1d6 100644 --- a/src/writer/mod.rs +++ b/src/writer/mod.rs @@ -28,7 +28,8 @@ pub mod repeat; pub mod summarize; pub mod tee; -use async_trait::async_trait; +use std::future::Future; + use sealed::sealed; use crate::{event, parser, Event}; @@ -68,7 +69,6 @@ pub use self::{ /// [`Runner`]: crate::Runner /// [1]: crate::Runner#order-guarantees /// [happened-before]: https://en.wikipedia.org/wiki/Happened-before -#[async_trait(?Send)] pub trait Writer { /// CLI options of this [`Writer`]. In case no options should be introduced, /// just use [`cli::Empty`]. @@ -84,23 +84,20 @@ pub trait Writer { /// Handles the given [`Cucumber`] event. /// /// [`Cucumber`]: crate::event::Cucumber - async fn handle_event( + fn handle_event( &mut self, ev: parser::Result>>, cli: &Self::Cli, - ); + ) -> impl Future; } /// [`Writer`] that also can output an arbitrary `Value` in addition to /// regular [`Cucumber`] events. /// -/// [`Cucumber`]: crate::event::Cucumber -#[async_trait(?Send)] -pub trait Arbitrary<'val, World, Value: 'val>: Writer { +/// [`Cucumber`]: event::Cucumber +pub trait Arbitrary: Writer { /// Writes `val` to the [`Writer`]'s output. - async fn write(&mut self, val: Value) - where - 'val: 'async_trait; + fn write(&mut self, val: Value) -> impl Future; } /// [`Writer`] tracking a number of [`Passed`], [`Skipped`], [`Failed`] diff --git a/src/writer/normalize.rs b/src/writer/normalize.rs index f6b345d7..2f04857d 100644 --- a/src/writer/normalize.rs +++ b/src/writer/normalize.rs @@ -10,9 +10,8 @@ //! [`Writer`]-wrapper for outputting events in a normalized readable order. -use std::{hash::Hash, mem, sync::Arc}; +use std::{future::Future, hash::Hash, mem, sync::Arc}; -use async_trait::async_trait; use derive_more::Deref; use either::Either; use linked_hash_map::LinkedHashMap; @@ -79,7 +78,6 @@ impl Normalize { } } -#[async_trait(?Send)] impl> Writer for Normalize { type Cli = Wr::Cli; @@ -153,16 +151,11 @@ impl> Writer for Normalize { } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] -impl<'val, W, Wr, Val> writer::Arbitrary<'val, W, Val> for Normalize +impl writer::Arbitrary for Normalize where - Wr: writer::Arbitrary<'val, W, Val>, - Val: 'val, + Wr: writer::Arbitrary, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { self.writer.write(val).await; } } @@ -261,7 +254,6 @@ impl AssertNormalized { } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] impl + ?Sized> Writer for AssertNormalized { type Cli = Wr::Cli; @@ -275,17 +267,12 @@ impl + ?Sized> Writer for AssertNormalized { } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] -impl<'val, W, Wr, Val> writer::Arbitrary<'val, W, Val> for AssertNormalized +impl writer::Arbitrary for AssertNormalized where W: World, - Val: 'val, - Wr: writer::Arbitrary<'val, W, Val> + ?Sized, + Wr: writer::Arbitrary + ?Sized, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { self.0.write(val).await; } } @@ -430,7 +417,6 @@ impl FinishedState { /// [`Rule`]: gherkin::Rule /// [`Scenario`]: gherkin::Scenario /// [`Step`]: gherkin::Step -#[async_trait(?Send)] trait Emitter { /// Currently outputted key and value from this [`Queue`]. type Current; @@ -472,12 +458,12 @@ trait Emitter { /// [`Rule`]: gherkin::Rule /// [`Scenario`]: gherkin::Scenario /// [`Step`]: gherkin::Step - async fn emit>( + fn emit>( self, path: Self::EmittedPath, writer: &mut W, cli: &W::Cli, - ) -> Option; + ) -> impl Future>; } /// [`Queue`] of all incoming events. @@ -552,7 +538,6 @@ impl CucumberQueue { } } -#[async_trait(?Send)] impl<'me, World> Emitter for &'me mut CucumberQueue { type Current = (Arc, &'me mut FeatureQueue); type Emitted = Arc; @@ -567,7 +552,7 @@ impl<'me, World> Emitter for &'me mut CucumberQueue { async fn emit>( self, - _: (), + (): (), writer: &mut W, cli: &W::Cli, ) -> Option { @@ -698,7 +683,6 @@ impl FeatureQueue { } } -#[async_trait(?Send)] impl<'me, World> Emitter for &'me mut FeatureQueue { type Current = NextRuleOrScenario<'me, World>; type Emitted = RuleOrScenario; @@ -741,7 +725,6 @@ impl<'me, World> Emitter for &'me mut FeatureQueue { type RulesQueue = Queue<(Arc, Option), ScenariosQueue>; -#[async_trait(?Send)] impl<'me, World> Emitter for &'me mut RulesQueue { type Current = (Arc, &'me mut ScenariosQueue); type Emitted = Arc; @@ -825,7 +808,6 @@ impl ScenariosQueue { } } -#[async_trait(?Send)] impl Emitter for &mut ScenariosQueue { type Current = Event>; type Emitted = (Arc, Option); diff --git a/src/writer/or.rs b/src/writer/or.rs index 84a88bd0..6a564d16 100644 --- a/src/writer/or.rs +++ b/src/writer/or.rs @@ -10,8 +10,6 @@ //! Passing events to one of two [`Writer`]s based on a predicate. -use async_trait::async_trait; - use crate::{cli, event, parser, writer, Event, World, Writer}; /// Wrapper for passing events to one of two [`Writer`]s based on a predicate. @@ -57,7 +55,6 @@ impl Or { } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] impl Writer for Or where W: World, diff --git a/src/writer/repeat.rs b/src/writer/repeat.rs index 7551b196..5a0cb21c 100644 --- a/src/writer/repeat.rs +++ b/src/writer/repeat.rs @@ -12,7 +12,6 @@ use std::mem; -use async_trait::async_trait; use derive_more::Deref; use crate::{event, parser, writer, Event, World, Writer}; @@ -58,7 +57,6 @@ impl Clone for Repeat { } } -#[async_trait(?Send)] impl Writer for Repeat where W: World, @@ -90,18 +88,13 @@ where } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] -impl<'val, W, Wr, Val, F> writer::Arbitrary<'val, W, Val> for Repeat +impl writer::Arbitrary for Repeat where W: World, - Wr: writer::Arbitrary<'val, W, Val> + writer::NonTransforming, - Val: 'val, + Wr: writer::Arbitrary + writer::NonTransforming, F: Fn(&parser::Result>>) -> bool, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { self.writer.write(val).await; } } diff --git a/src/writer/summarize.rs b/src/writer/summarize.rs index fbfd50f0..b6fc266d 100644 --- a/src/writer/summarize.rs +++ b/src/writer/summarize.rs @@ -12,7 +12,6 @@ use std::{borrow::Cow, collections::HashMap, sync::Arc}; -use async_trait::async_trait; use derive_more::Deref; use itertools::Itertools as _; @@ -193,11 +192,10 @@ type HandledScenarios = HashMap< Indicator, >; -#[async_trait(?Send)] impl Writer for Summarize where W: World, - Wr: for<'val> writer::Arbitrary<'val, W, String> + Summarizable, + Wr: writer::Arbitrary + Summarizable, Wr::Cli: Colored, { type Cli = Wr::Cli; @@ -259,18 +257,13 @@ where } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] -impl<'val, W, Wr, Val> writer::Arbitrary<'val, W, Val> for Summarize +impl writer::Arbitrary for Summarize where W: World, Self: Writer, - Wr: writer::Arbitrary<'val, W, Val>, - Val: 'val, + Wr: writer::Arbitrary, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { self.writer.write(val).await; } } diff --git a/src/writer/tee.rs b/src/writer/tee.rs index 8cf2b192..227b7c8a 100644 --- a/src/writer/tee.rs +++ b/src/writer/tee.rs @@ -12,7 +12,6 @@ use std::cmp; -use async_trait::async_trait; use futures::future; use crate::{cli, event, parser, writer, Event, World, Writer}; @@ -51,7 +50,6 @@ impl Tee { } } -#[async_trait(?Send)] impl Writer for Tee where W: World, @@ -74,18 +72,14 @@ where } #[warn(clippy::missing_trait_methods)] -#[async_trait(?Send)] -impl<'val, W, L, R, Val> writer::Arbitrary<'val, W, Val> for Tee +impl writer::Arbitrary for Tee where W: World, - L: writer::Arbitrary<'val, W, Val>, - R: writer::Arbitrary<'val, W, Val>, - Val: Clone + 'val, + L: writer::Arbitrary, + R: writer::Arbitrary, + Val: Clone, { - async fn write(&mut self, val: Val) - where - 'val: 'async_trait, - { + async fn write(&mut self, val: Val) { future::join(self.left.write(val.clone()), self.right.write(val)).await; } } diff --git a/tests/features/output/.feature.debug.out b/tests/features/output/.feature.debug.out index af93e9a2..c67aad91 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished diff --git a/tests/features/output/ambiguous_step.feature.basic.out b/tests/features/output/ambiguous_step.feature.basic.out index 57fc7a0f..c1af096b 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+) --> tests/output.rs:12:1 - foo is (\d+) ambiguous --> tests/output.rs:20:1 + foo is (\d+) --> tests/output.rs:11:1 + foo is (\d+) ambiguous --> tests/output.rs:19:1 diff --git a/tests/features/output/ambiguous_step.feature.colored.out b/tests/features/output/ambiguous_step.feature.colored.out index fc2f0fb1..53985d9d 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:12:1 - foo is (\d+) ambiguous --> tests/output.rs:20:1 + foo is (\d+) --> tests/output.rs:11:1 + foo is (\d+) ambiguous --> tests/output.rs:19:1 diff --git a/tests/features/output/ambiguous_step.feature.debug.out b/tests/features/output/ambiguous_step.feature.debug.out index 167e2f19..db5f0738 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: 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: 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: 11, column: 1 })), (HashableRegex(Regex("foo is (\\d+) ambiguous")), Some(Location { line: 19, 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 +Finished diff --git a/tests/features/output/background_rule.feature.debug.out b/tests/features/output/background_rule.feature.debug.out index fe0cd1c7..e40554bf 100644 --- a/tests/features/output/background_rule.feature.debug.out +++ b/tests/features/output/background_rule.feature.debug.out @@ -4,14 +4,14 @@ 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: 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: 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: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 \ No newline at end of file +Finished diff --git a/tests/features/output/background_rule_background.feature.debug.out b/tests/features/output/background_rule_background.feature.debug.out index 4ae46b11..b3a62195 100644 --- a/tests/features/output/background_rule_background.feature.debug.out +++ b/tests/features/output/background_rule_background.feature.debug.out @@ -4,16 +4,16 @@ 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: 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 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: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 \ No newline at end of file +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 68a9ddfa..192cb3bd 100644 --- a/tests/features/output/background_rule_background_outline.feature.debug.out +++ b/tests/features/output/background_rule_background_outline.feature.debug.out @@ -4,16 +4,16 @@ 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: 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 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: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 \ No newline at end of file +Finished diff --git a/tests/features/output/background_rule_outline.feature.debug.out b/tests/features/output/background_rule_outline.feature.debug.out index 28a4466e..bf0de46c 100644 --- a/tests/features/output/background_rule_outline.feature.debug.out +++ b/tests/features/output/background_rule_outline.feature.debug.out @@ -4,14 +4,14 @@ 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: 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: 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: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 \ No newline at end of file +Finished diff --git a/tests/features/output/background_scenario.feature.debug.out b/tests/features/output/background_scenario.feature.debug.out index 3e1e0ef9..872fbbca 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: 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: 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: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished diff --git a/tests/features/output/background_scenario_outline.feature.debug.out b/tests/features/output/background_scenario_outline.feature.debug.out index da3a4218..aacdaf39 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: 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: 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: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished diff --git a/tests/features/output/descriptions.feature.debug.out b/tests/features/output/descriptions.feature.debug.out index c10e32c4..5fa94b05 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: 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: 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: 11, 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: 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: 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: 11, 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: 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: 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: 11, 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: 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: 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: 11, 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: 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: 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: 11, 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: 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: 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: 11, 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: 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: 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: 11, 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: 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: 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: 11, 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 +Finished 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 04119a6a..eb86a160 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished diff --git a/tests/features/output/non_default_lang.feature.debug.out b/tests/features/output/non_default_lang.feature.debug.out index c035cebb..ca56ad4a 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished diff --git a/tests/features/output/parsing_failed.feature.debug.out b/tests/features/output/parsing_failed.feature.debug.out index cefaea8a..f8a8be92 100644 --- a/tests/features/output/parsing_failed.feature.debug.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 \ No newline at end of file +Finished diff --git a/tests/features/output/rule.feature.debug.out b/tests/features/output/rule.feature.debug.out index dc88b59f..56bced22 100644 --- a/tests/features/output/rule.feature.debug.out +++ b/tests/features/output/rule.feature.debug.out @@ -4,12 +4,12 @@ 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 \ No newline at end of file +Finished diff --git a/tests/features/output/rule_background.feature.debug.out b/tests/features/output/rule_background.feature.debug.out index dc9914e0..2d5e2094 100644 --- a/tests/features/output/rule_background.feature.debug.out +++ b/tests/features/output/rule_background.feature.debug.out @@ -4,14 +4,14 @@ 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: 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: 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: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 \ No newline at end of file +Finished diff --git a/tests/features/output/rule_background_outline.feature.debug.out b/tests/features/output/rule_background_outline.feature.debug.out index 91fa6b21..04282986 100644 --- a/tests/features/output/rule_background_outline.feature.debug.out +++ b/tests/features/output/rule_background_outline.feature.debug.out @@ -4,14 +4,14 @@ 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: 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: 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: 11, 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: 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 } }, Passed(CaptureLocations(Captures { pid: Some(PatternID(0)), spans: {0: 0..8, 1: 7..8} }), Some(Location { line: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 \ No newline at end of file +Finished diff --git a/tests/features/output/rule_outline.feature.debug.out b/tests/features/output/rule_outline.feature.debug.out index 68c22151..148b5812 100644 --- a/tests/features/output/rule_outline.feature.debug.out +++ b/tests/features/output/rule_outline.feature.debug.out @@ -4,12 +4,12 @@ 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 \ No newline at end of file +Finished diff --git a/tests/features/output/scenario.feature.debug.out b/tests/features/output/scenario.feature.debug.out index af93e9a2..c67aad91 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished diff --git a/tests/features/output/scenario_outline.feature.debug.out b/tests/features/output/scenario_outline.feature.debug.out index d84f22af..ccc660b8 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished 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 c21308d9..18b46e68 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:13:1 + Matched: tests/output.rs:12: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 26102c52..5548c982 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:13:1 + Matched: tests/output.rs:12: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 913ae380..3875fd5f 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: 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: "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: 11, 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: 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: 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: 12, 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 +Finished diff --git a/tests/features/output/scenario_outline_table.feature.basic.out b/tests/features/output/scenario_outline_table.feature.basic.out index e238f4b1..79f94988 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:12:1 + Matched: tests/output.rs:11: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 4201c8da..841b23db 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:12:1 + Matched: tests/output.rs:11: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 b309a9e0..15840a6c 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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: 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: 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: 11, 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 +Finished 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 5421f429..0c7556da 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished 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 dcf8a768..cb32ea50 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished 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 c7df9eda..339d3d6e 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:12:1 + Matched: tests/output.rs:11: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 cdc8cb1b..e11334a1 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:12:1 + Matched: tests/output.rs:11: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 8bd8d246..5fb3dff5 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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: 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: 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: 11, 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 +Finished 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 d7e7f6e9..2a52b58f 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished 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 795461ba..91264602 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: 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: "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: 11, 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: 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: "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: 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: "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: 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: "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: 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: 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 +Finished diff --git a/tests/features/output/unknown_scenario_outline.feature.debug.out b/tests/features/output/unknown_scenario_outline.feature.debug.out index cefaea8a..f8a8be92 100644 --- a/tests/features/output/unknown_scenario_outline.feature.debug.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 \ No newline at end of file +Finished diff --git a/tests/output.rs b/tests/output.rs index cbc3d856..fd4b2a2f 100644 --- a/tests/output.rs +++ b/tests/output.rs @@ -1,6 +1,5 @@ use std::{borrow::Cow, fmt::Debug, mem}; -use async_trait::async_trait; use cucumber::{cli, event, given, parser, then, when, Event, Writer}; use lazy_regex::regex; use once_cell::sync::Lazy; @@ -26,7 +25,6 @@ struct DebugWriter { first_line_printed: bool, } -#[async_trait(?Send)] impl Writer for DebugWriter { type Cli = cli::Empty; @@ -174,7 +172,11 @@ mod spec { .with_default_cli() .run(format!("tests/features/output/{file}")) .await; - assert_eq!(expected, debug.output, "\n[debug] file: {file}"); + assert_eq!( + debug.output.trim(), + expected.trim(), + "\n[debug] file: {file}", + ); let expected = load_file(format!("tests/features/output/{file}.basic.out")); @@ -188,7 +190,11 @@ mod spec { .with_default_cli() .run(format!("tests/features/output/{file}")) .await; - assert_eq!(expected, output.to_string(), "\n[basic] file: {file}"); + assert_eq!( + output.to_string().trim(), + expected.trim(), + "\n[basic] file: {file}", + ); let expected = load_file(format!("tests/features/output/{file}.colored.out")); @@ -203,8 +209,8 @@ mod spec { .run(format!("tests/features/output/{file}")) .await; assert_eq!( - expected, - output.to_string(), + output.to_string().trim(), + expected.trim(), "\n[colored] file: {file}", ); }