@serenity-js/cucumber 3.41.2 → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/esm/adapter/CucumberCLIAdapter.d.ts +54 -0
- package/esm/adapter/CucumberCLIAdapter.d.ts.map +1 -0
- package/esm/adapter/CucumberCLIAdapter.js +215 -0
- package/esm/adapter/CucumberCLIAdapter.js.map +1 -0
- package/esm/adapter/CucumberConfig.d.ts +255 -0
- package/esm/adapter/CucumberConfig.d.ts.map +1 -0
- package/esm/adapter/CucumberConfig.js +2 -0
- package/esm/adapter/CucumberConfig.js.map +1 -0
- package/esm/adapter/CucumberFormat.d.ts +26 -0
- package/esm/adapter/CucumberFormat.d.ts.map +1 -0
- package/esm/adapter/CucumberFormat.js +48 -0
- package/esm/adapter/CucumberFormat.js.map +1 -0
- package/esm/adapter/CucumberOptions.d.ts +29 -0
- package/esm/adapter/CucumberOptions.d.ts.map +1 -0
- package/esm/adapter/CucumberOptions.js +145 -0
- package/esm/adapter/CucumberOptions.js.map +1 -0
- package/esm/adapter/index.d.ts +5 -0
- package/esm/adapter/index.d.ts.map +1 -0
- package/esm/adapter/index.js +5 -0
- package/esm/adapter/index.js.map +1 -0
- package/esm/adapter/output/OutputDescriptor.d.ts +8 -0
- package/esm/adapter/output/OutputDescriptor.d.ts.map +1 -0
- package/esm/adapter/output/OutputDescriptor.js +2 -0
- package/esm/adapter/output/OutputDescriptor.js.map +1 -0
- package/esm/adapter/output/SerenityFormatterOutput.d.ts +8 -0
- package/esm/adapter/output/SerenityFormatterOutput.d.ts.map +1 -0
- package/esm/adapter/output/SerenityFormatterOutput.js +2 -0
- package/esm/adapter/output/SerenityFormatterOutput.js.map +1 -0
- package/esm/adapter/output/StandardOutput.d.ts +9 -0
- package/esm/adapter/output/StandardOutput.d.ts.map +1 -0
- package/esm/adapter/output/StandardOutput.js +10 -0
- package/esm/adapter/output/StandardOutput.js.map +1 -0
- package/esm/adapter/output/StandardOutputDescriptor.d.ts +9 -0
- package/esm/adapter/output/StandardOutputDescriptor.d.ts.map +1 -0
- package/esm/adapter/output/StandardOutputDescriptor.js +12 -0
- package/esm/adapter/output/StandardOutputDescriptor.js.map +1 -0
- package/esm/adapter/output/TempFileOutput.d.ts +12 -0
- package/esm/adapter/output/TempFileOutput.d.ts.map +1 -0
- package/esm/adapter/output/TempFileOutput.js +14 -0
- package/esm/adapter/output/TempFileOutput.js.map +1 -0
- package/esm/adapter/output/TempFileOutputDescriptor.d.ts +17 -0
- package/esm/adapter/output/TempFileOutputDescriptor.d.ts.map +1 -0
- package/esm/adapter/output/TempFileOutputDescriptor.js +24 -0
- package/esm/adapter/output/TempFileOutputDescriptor.js.map +1 -0
- package/esm/adapter/output/index.d.ts +5 -0
- package/esm/adapter/output/index.d.ts.map +1 -0
- package/esm/adapter/output/index.js +5 -0
- package/esm/adapter/output/index.js.map +1 -0
- package/esm/errors/AmbiguousStepDefinitionError.d.ts +9 -0
- package/esm/errors/AmbiguousStepDefinitionError.d.ts.map +1 -0
- package/esm/errors/AmbiguousStepDefinitionError.js +11 -0
- package/esm/errors/AmbiguousStepDefinitionError.js.map +1 -0
- package/esm/errors/index.d.ts +2 -0
- package/esm/errors/index.d.ts.map +1 -0
- package/esm/errors/index.js +2 -0
- package/esm/errors/index.js.map +1 -0
- package/esm/index.d.ts +7 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +19 -0
- package/esm/index.js.map +1 -0
- package/esm/listeners/legacy/CucumberEventProtocolAdapter.d.ts +18 -0
- package/esm/listeners/legacy/CucumberEventProtocolAdapter.d.ts.map +1 -0
- package/esm/listeners/legacy/CucumberEventProtocolAdapter.js +127 -0
- package/esm/listeners/legacy/CucumberEventProtocolAdapter.js.map +1 -0
- package/esm/listeners/legacy/CucumberFormatterOptions.d.ts +15 -0
- package/esm/listeners/legacy/CucumberFormatterOptions.d.ts.map +1 -0
- package/esm/listeners/legacy/CucumberFormatterOptions.js +2 -0
- package/esm/listeners/legacy/CucumberFormatterOptions.js.map +1 -0
- package/esm/listeners/legacy/Dependencies.d.ts +17 -0
- package/esm/listeners/legacy/Dependencies.d.ts.map +1 -0
- package/esm/listeners/legacy/Dependencies.js +2 -0
- package/esm/listeners/legacy/Dependencies.js.map +1 -0
- package/esm/listeners/legacy/cucumber-0.d.ts +3 -0
- package/esm/listeners/legacy/cucumber-0.d.ts.map +1 -0
- package/esm/listeners/legacy/cucumber-0.js +100 -0
- package/esm/listeners/legacy/cucumber-0.js.map +1 -0
- package/esm/listeners/legacy/cucumber-1.d.ts +2 -0
- package/esm/listeners/legacy/cucumber-1.d.ts.map +1 -0
- package/esm/listeners/legacy/cucumber-1.js +2 -0
- package/esm/listeners/legacy/cucumber-1.js.map +1 -0
- package/esm/listeners/legacy/cucumber-2.d.ts +3 -0
- package/esm/listeners/legacy/cucumber-2.d.ts.map +1 -0
- package/esm/listeners/legacy/cucumber-2.js +8 -0
- package/esm/listeners/legacy/cucumber-2.js.map +1 -0
- package/esm/listeners/legacy/cucumber-3.d.ts +13 -0
- package/esm/listeners/legacy/cucumber-3.d.ts.map +1 -0
- package/esm/listeners/legacy/cucumber-3.js +27 -0
- package/esm/listeners/legacy/cucumber-3.js.map +1 -0
- package/esm/listeners/legacy/cucumber-4.d.ts +13 -0
- package/esm/listeners/legacy/cucumber-4.d.ts.map +1 -0
- package/esm/listeners/legacy/cucumber-4.js +26 -0
- package/esm/listeners/legacy/cucumber-4.js.map +1 -0
- package/esm/listeners/legacy/cucumber-5.d.ts +2 -0
- package/esm/listeners/legacy/cucumber-5.d.ts.map +1 -0
- package/esm/listeners/legacy/cucumber-5.js +2 -0
- package/esm/listeners/legacy/cucumber-5.js.map +1 -0
- package/esm/listeners/legacy/cucumber-6.d.ts +2 -0
- package/esm/listeners/legacy/cucumber-6.d.ts.map +1 -0
- package/esm/listeners/legacy/cucumber-6.js +2 -0
- package/esm/listeners/legacy/cucumber-6.js.map +1 -0
- package/esm/listeners/legacy/gherkin/GherkinParserAdapter.d.ts +31 -0
- package/esm/listeners/legacy/gherkin/GherkinParserAdapter.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/GherkinParserAdapter.js +164 -0
- package/esm/listeners/legacy/gherkin/GherkinParserAdapter.js.map +1 -0
- package/esm/listeners/legacy/gherkin/constructables.d.ts +2 -0
- package/esm/listeners/legacy/gherkin/constructables.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/constructables.js +2 -0
- package/esm/listeners/legacy/gherkin/constructables.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/Cache.d.ts +17 -0
- package/esm/listeners/legacy/gherkin/feature-files/Cache.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/Cache.js +32 -0
- package/esm/listeners/legacy/gherkin/feature-files/Cache.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileLoader.d.ts +16 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileLoader.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileLoader.js +26 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileLoader.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileMap.d.ts +19 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileMap.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileMap.js +44 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileMap.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileMapper.d.ts +14 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileMapper.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileMapper.js +97 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileMapper.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileParser.d.ts +13 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileParser.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileParser.js +27 -0
- package/esm/listeners/legacy/gherkin/feature-files/FeatureFileParser.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.js +10 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.js +10 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.js +10 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.js +10 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/index.d.ts +5 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/index.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/index.js +5 -0
- package/esm/listeners/legacy/gherkin/feature-files/errors/index.js.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/index.d.ts +6 -0
- package/esm/listeners/legacy/gherkin/feature-files/index.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/feature-files/index.js +6 -0
- package/esm/listeners/legacy/gherkin/feature-files/index.js.map +1 -0
- package/esm/listeners/legacy/gherkin/index.d.ts +4 -0
- package/esm/listeners/legacy/gherkin/index.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/index.js +4 -0
- package/esm/listeners/legacy/gherkin/index.js.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Background.d.ts +13 -0
- package/esm/listeners/legacy/gherkin/model/Background.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Background.js +14 -0
- package/esm/listeners/legacy/gherkin/model/Background.js.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Feature.d.ts +13 -0
- package/esm/listeners/legacy/gherkin/model/Feature.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Feature.js +14 -0
- package/esm/listeners/legacy/gherkin/model/Feature.js.map +1 -0
- package/esm/listeners/legacy/gherkin/model/FeatureFileNode.d.ts +12 -0
- package/esm/listeners/legacy/gherkin/model/FeatureFileNode.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/model/FeatureFileNode.js +14 -0
- package/esm/listeners/legacy/gherkin/model/FeatureFileNode.js.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Hook.d.ts +7 -0
- package/esm/listeners/legacy/gherkin/model/Hook.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Hook.js +7 -0
- package/esm/listeners/legacy/gherkin/model/Hook.js.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Scenario.d.ts +16 -0
- package/esm/listeners/legacy/gherkin/model/Scenario.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Scenario.js +18 -0
- package/esm/listeners/legacy/gherkin/model/Scenario.js.map +1 -0
- package/esm/listeners/legacy/gherkin/model/ScenarioOutline.d.ts +18 -0
- package/esm/listeners/legacy/gherkin/model/ScenarioOutline.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/model/ScenarioOutline.js +16 -0
- package/esm/listeners/legacy/gherkin/model/ScenarioOutline.js.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Step.d.ts +7 -0
- package/esm/listeners/legacy/gherkin/model/Step.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/model/Step.js +7 -0
- package/esm/listeners/legacy/gherkin/model/Step.js.map +1 -0
- package/esm/listeners/legacy/gherkin/model/index.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/model/index.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/model/index.js +8 -0
- package/esm/listeners/legacy/gherkin/model/index.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/ASTNode.d.ts +9 -0
- package/esm/listeners/legacy/gherkin/nodes/ASTNode.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/ASTNode.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/ASTNode.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Background.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/nodes/Background.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Background.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/Background.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Comment.d.ts +9 -0
- package/esm/listeners/legacy/gherkin/nodes/Comment.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Comment.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/Comment.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/DataTable.d.ts +10 -0
- package/esm/listeners/legacy/gherkin/nodes/DataTable.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/DataTable.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/DataTable.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/DocString.d.ts +9 -0
- package/esm/listeners/legacy/gherkin/nodes/DocString.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/DocString.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/DocString.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Examples.d.ts +16 -0
- package/esm/listeners/legacy/gherkin/nodes/Examples.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Examples.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/Examples.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Feature.d.ts +16 -0
- package/esm/listeners/legacy/gherkin/nodes/Feature.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Feature.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/Feature.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/GherkinDocument.d.ts +11 -0
- package/esm/listeners/legacy/gherkin/nodes/GherkinDocument.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/GherkinDocument.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/GherkinDocument.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Location.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/nodes/Location.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Location.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/Location.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Scenario.d.ts +10 -0
- package/esm/listeners/legacy/gherkin/nodes/Scenario.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Scenario.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/Scenario.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/ScenarioDefinition.d.ts +15 -0
- package/esm/listeners/legacy/gherkin/nodes/ScenarioDefinition.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/ScenarioDefinition.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/ScenarioDefinition.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/ScenarioOutline.d.ts +12 -0
- package/esm/listeners/legacy/gherkin/nodes/ScenarioOutline.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/ScenarioOutline.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/ScenarioOutline.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Step.d.ts +12 -0
- package/esm/listeners/legacy/gherkin/nodes/Step.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Step.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/Step.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/StepArgument.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/nodes/StepArgument.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/StepArgument.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/StepArgument.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/TableCell.d.ts +8 -0
- package/esm/listeners/legacy/gherkin/nodes/TableCell.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/TableCell.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/TableCell.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/TableRow.d.ts +10 -0
- package/esm/listeners/legacy/gherkin/nodes/TableRow.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/TableRow.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/TableRow.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Tag.d.ts +9 -0
- package/esm/listeners/legacy/gherkin/nodes/Tag.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/Tag.js +2 -0
- package/esm/listeners/legacy/gherkin/nodes/Tag.js.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/index.d.ts +17 -0
- package/esm/listeners/legacy/gherkin/nodes/index.d.ts.map +1 -0
- package/esm/listeners/legacy/gherkin/nodes/index.js +17 -0
- package/esm/listeners/legacy/gherkin/nodes/index.js.map +1 -0
- package/esm/listeners/legacy/index.d.ts +10 -0
- package/esm/listeners/legacy/index.d.ts.map +1 -0
- package/esm/listeners/legacy/index.js +48 -0
- package/esm/listeners/legacy/index.js.map +1 -0
- package/esm/listeners/legacy/notifier/Notifier.d.ts +27 -0
- package/esm/listeners/legacy/notifier/Notifier.d.ts.map +1 -0
- package/esm/listeners/legacy/notifier/Notifier.js +82 -0
- package/esm/listeners/legacy/notifier/Notifier.js.map +1 -0
- package/esm/listeners/legacy/notifier/ResultMapper.d.ts +15 -0
- package/esm/listeners/legacy/notifier/ResultMapper.d.ts.map +1 -0
- package/esm/listeners/legacy/notifier/ResultMapper.js +80 -0
- package/esm/listeners/legacy/notifier/ResultMapper.js.map +1 -0
- package/esm/listeners/legacy/notifier/index.d.ts +3 -0
- package/esm/listeners/legacy/notifier/index.d.ts.map +1 -0
- package/esm/listeners/legacy/notifier/index.js +3 -0
- package/esm/listeners/legacy/notifier/index.js.map +1 -0
- package/esm/listeners/messages/CucumberMessagesListener.d.ts +18 -0
- package/esm/listeners/messages/CucumberMessagesListener.d.ts.map +1 -0
- package/esm/listeners/messages/CucumberMessagesListener.js +65 -0
- package/esm/listeners/messages/CucumberMessagesListener.js.map +1 -0
- package/esm/listeners/messages/index.d.ts +7 -0
- package/esm/listeners/messages/index.d.ts.map +1 -0
- package/esm/listeners/messages/index.js +8 -0
- package/esm/listeners/messages/index.js.map +1 -0
- package/esm/listeners/messages/parser/CucumberMessagesParser.d.ts +45 -0
- package/esm/listeners/messages/parser/CucumberMessagesParser.d.ts.map +1 -0
- package/esm/listeners/messages/parser/CucumberMessagesParser.js +211 -0
- package/esm/listeners/messages/parser/CucumberMessagesParser.js.map +1 -0
- package/esm/listeners/messages/parser/TestStepFormatter.d.ts +14 -0
- package/esm/listeners/messages/parser/TestStepFormatter.d.ts.map +1 -0
- package/esm/listeners/messages/parser/TestStepFormatter.js +61 -0
- package/esm/listeners/messages/parser/TestStepFormatter.js.map +1 -0
- package/esm/listeners/messages/parser/types/ExtractedScenario.d.ts +9 -0
- package/esm/listeners/messages/parser/types/ExtractedScenario.d.ts.map +1 -0
- package/esm/listeners/messages/parser/types/ExtractedScenario.js +2 -0
- package/esm/listeners/messages/parser/types/ExtractedScenario.js.map +1 -0
- package/esm/listeners/messages/parser/types/ExtractedScenarioOutline.d.ts +7 -0
- package/esm/listeners/messages/parser/types/ExtractedScenarioOutline.d.ts.map +1 -0
- package/esm/listeners/messages/parser/types/ExtractedScenarioOutline.js +2 -0
- package/esm/listeners/messages/parser/types/ExtractedScenarioOutline.js.map +1 -0
- package/esm/listeners/messages/parser/types/index.d.ts +3 -0
- package/esm/listeners/messages/parser/types/index.d.ts.map +1 -0
- package/esm/listeners/messages/parser/types/index.js +3 -0
- package/esm/listeners/messages/parser/types/index.js.map +1 -0
- package/esm/listeners/messages/types/cucumber.d.ts +63 -0
- package/esm/listeners/messages/types/cucumber.d.ts.map +1 -0
- package/esm/listeners/messages/types/cucumber.js +7 -0
- package/esm/listeners/messages/types/cucumber.js.map +1 -0
- package/lib/adapter/CucumberCLIAdapter.d.ts +5 -5
- package/lib/adapter/CucumberCLIAdapter.d.ts.map +1 -1
- package/lib/adapter/CucumberCLIAdapter.js +4 -4
- package/lib/adapter/CucumberCLIAdapter.js.map +1 -1
- package/lib/adapter/CucumberOptions.d.ts +3 -3
- package/lib/adapter/CucumberOptions.d.ts.map +1 -1
- package/lib/adapter/CucumberOptions.js +1 -1
- package/lib/adapter/CucumberOptions.js.map +1 -1
- package/lib/adapter/index.d.ts +4 -4
- package/lib/adapter/index.d.ts.map +1 -1
- package/lib/adapter/index.js +4 -4
- package/lib/adapter/index.js.map +1 -1
- package/lib/adapter/output/SerenityFormatterOutput.d.ts +1 -1
- package/lib/adapter/output/SerenityFormatterOutput.d.ts.map +1 -1
- package/lib/adapter/output/StandardOutput.d.ts +2 -2
- package/lib/adapter/output/StandardOutput.d.ts.map +1 -1
- package/lib/adapter/output/StandardOutput.js +2 -2
- package/lib/adapter/output/StandardOutput.js.map +1 -1
- package/lib/adapter/output/StandardOutputDescriptor.d.ts +1 -1
- package/lib/adapter/output/StandardOutputDescriptor.d.ts.map +1 -1
- package/lib/adapter/output/TempFileOutput.d.ts +3 -3
- package/lib/adapter/output/TempFileOutput.d.ts.map +1 -1
- package/lib/adapter/output/TempFileOutput.js +2 -2
- package/lib/adapter/output/TempFileOutput.js.map +1 -1
- package/lib/adapter/output/TempFileOutputDescriptor.d.ts +2 -2
- package/lib/adapter/output/TempFileOutputDescriptor.d.ts.map +1 -1
- package/lib/adapter/output/TempFileOutputDescriptor.js +1 -1
- package/lib/adapter/output/TempFileOutputDescriptor.js.map +1 -1
- package/lib/adapter/output/index.d.ts +4 -4
- package/lib/adapter/output/index.d.ts.map +1 -1
- package/lib/adapter/output/index.js +4 -4
- package/lib/adapter/output/index.js.map +1 -1
- package/lib/errors/AmbiguousStepDefinitionError.d.ts +1 -1
- package/lib/errors/AmbiguousStepDefinitionError.d.ts.map +1 -1
- package/lib/errors/AmbiguousStepDefinitionError.js +1 -1
- package/lib/errors/AmbiguousStepDefinitionError.js.map +1 -1
- package/lib/errors/index.d.ts +1 -1
- package/lib/errors/index.d.ts.map +1 -1
- package/lib/errors/index.js +1 -1
- package/lib/errors/index.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -4
- package/lib/index.js.map +1 -1
- package/lib/listeners/legacy/CucumberEventProtocolAdapter.d.ts +3 -3
- package/lib/listeners/legacy/CucumberEventProtocolAdapter.d.ts.map +1 -1
- package/lib/listeners/legacy/CucumberEventProtocolAdapter.js +21 -21
- package/lib/listeners/legacy/CucumberEventProtocolAdapter.js.map +1 -1
- package/lib/listeners/legacy/Dependencies.d.ts +3 -3
- package/lib/listeners/legacy/Dependencies.d.ts.map +1 -1
- package/lib/listeners/legacy/cucumber-0.d.ts +2 -3
- package/lib/listeners/legacy/cucumber-0.d.ts.map +1 -1
- package/lib/listeners/legacy/cucumber-0.js +50 -48
- package/lib/listeners/legacy/cucumber-0.js.map +1 -1
- package/lib/listeners/legacy/cucumber-1.d.ts +1 -2
- package/lib/listeners/legacy/cucumber-1.d.ts.map +1 -1
- package/lib/listeners/legacy/cucumber-1.js +7 -1
- package/lib/listeners/legacy/cucumber-1.js.map +1 -1
- package/lib/listeners/legacy/cucumber-2.d.ts +2 -3
- package/lib/listeners/legacy/cucumber-2.d.ts.map +1 -1
- package/lib/listeners/legacy/cucumber-2.js +9 -4
- package/lib/listeners/legacy/cucumber-2.js.map +1 -1
- package/lib/listeners/legacy/cucumber-3.d.ts +4 -5
- package/lib/listeners/legacy/cucumber-3.d.ts.map +1 -1
- package/lib/listeners/legacy/cucumber-3.js +8 -5
- package/lib/listeners/legacy/cucumber-3.js.map +1 -1
- package/lib/listeners/legacy/cucumber-4.d.ts +4 -5
- package/lib/listeners/legacy/cucumber-4.d.ts.map +1 -1
- package/lib/listeners/legacy/cucumber-4.js +8 -5
- package/lib/listeners/legacy/cucumber-4.js.map +1 -1
- package/lib/listeners/legacy/cucumber-5.d.ts +1 -2
- package/lib/listeners/legacy/cucumber-5.d.ts.map +1 -1
- package/lib/listeners/legacy/cucumber-5.js +7 -1
- package/lib/listeners/legacy/cucumber-5.js.map +1 -1
- package/lib/listeners/legacy/cucumber-6.d.ts +1 -2
- package/lib/listeners/legacy/cucumber-6.d.ts.map +1 -1
- package/lib/listeners/legacy/cucumber-6.js +7 -1
- package/lib/listeners/legacy/cucumber-6.js.map +1 -1
- package/lib/listeners/legacy/gherkin/GherkinParserAdapter.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/GherkinParserAdapter.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/Cache.js +2 -2
- package/lib/listeners/legacy/gherkin/feature-files/Cache.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileLoader.d.ts +5 -5
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileLoader.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileLoader.js +2 -2
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileLoader.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileMap.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileMap.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileMap.js +4 -4
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileMap.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileMapper.d.ts +3 -3
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileMapper.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileMapper.js +12 -12
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileMapper.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileParser.d.ts +2 -2
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileParser.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileParser.js +3 -3
- package/lib/listeners/legacy/gherkin/feature-files/FeatureFileParser.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.js +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.js +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.js +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.js +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/index.d.ts +4 -4
- package/lib/listeners/legacy/gherkin/feature-files/errors/index.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/errors/index.js +4 -4
- package/lib/listeners/legacy/gherkin/feature-files/errors/index.js.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/index.d.ts +5 -5
- package/lib/listeners/legacy/gherkin/feature-files/index.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/feature-files/index.js +5 -5
- package/lib/listeners/legacy/gherkin/feature-files/index.js.map +1 -1
- package/lib/listeners/legacy/gherkin/index.d.ts +3 -3
- package/lib/listeners/legacy/gherkin/index.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/index.js +3 -3
- package/lib/listeners/legacy/gherkin/index.js.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Background.d.ts +4 -4
- package/lib/listeners/legacy/gherkin/model/Background.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Background.js +2 -2
- package/lib/listeners/legacy/gherkin/model/Background.js.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Feature.d.ts +4 -4
- package/lib/listeners/legacy/gherkin/model/Feature.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Feature.js +2 -2
- package/lib/listeners/legacy/gherkin/model/Feature.js.map +1 -1
- package/lib/listeners/legacy/gherkin/model/FeatureFileNode.d.ts +2 -2
- package/lib/listeners/legacy/gherkin/model/FeatureFileNode.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Hook.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/model/Hook.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Hook.js +2 -2
- package/lib/listeners/legacy/gherkin/model/Hook.js.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Scenario.d.ts +5 -5
- package/lib/listeners/legacy/gherkin/model/Scenario.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Scenario.js +2 -2
- package/lib/listeners/legacy/gherkin/model/Scenario.js.map +1 -1
- package/lib/listeners/legacy/gherkin/model/ScenarioOutline.d.ts +4 -4
- package/lib/listeners/legacy/gherkin/model/ScenarioOutline.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/model/ScenarioOutline.js +2 -2
- package/lib/listeners/legacy/gherkin/model/ScenarioOutline.js.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Step.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/model/Step.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/model/Step.js +2 -2
- package/lib/listeners/legacy/gherkin/model/Step.js.map +1 -1
- package/lib/listeners/legacy/gherkin/model/index.d.ts +7 -7
- package/lib/listeners/legacy/gherkin/model/index.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/model/index.js +7 -7
- package/lib/listeners/legacy/gherkin/model/index.js.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/ASTNode.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/nodes/ASTNode.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Background.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Background.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Comment.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Comment.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/DataTable.d.ts +2 -2
- package/lib/listeners/legacy/gherkin/nodes/DataTable.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/DocString.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/nodes/DocString.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Examples.d.ts +3 -3
- package/lib/listeners/legacy/gherkin/nodes/Examples.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Feature.d.ts +3 -3
- package/lib/listeners/legacy/gherkin/nodes/Feature.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/GherkinDocument.d.ts +2 -2
- package/lib/listeners/legacy/gherkin/nodes/GherkinDocument.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Scenario.d.ts +2 -2
- package/lib/listeners/legacy/gherkin/nodes/Scenario.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/ScenarioDefinition.d.ts +3 -3
- package/lib/listeners/legacy/gherkin/nodes/ScenarioDefinition.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/ScenarioOutline.d.ts +3 -3
- package/lib/listeners/legacy/gherkin/nodes/ScenarioOutline.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Step.d.ts +2 -2
- package/lib/listeners/legacy/gherkin/nodes/Step.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/StepArgument.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/nodes/StepArgument.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/TableCell.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/nodes/TableCell.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/TableRow.d.ts +2 -2
- package/lib/listeners/legacy/gherkin/nodes/TableRow.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Tag.d.ts +1 -1
- package/lib/listeners/legacy/gherkin/nodes/Tag.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/index.d.ts +16 -16
- package/lib/listeners/legacy/gherkin/nodes/index.d.ts.map +1 -1
- package/lib/listeners/legacy/gherkin/nodes/index.js +16 -16
- package/lib/listeners/legacy/gherkin/nodes/index.js.map +1 -1
- package/lib/listeners/legacy/index.d.ts +1 -1
- package/lib/listeners/legacy/index.d.ts.map +1 -1
- package/lib/listeners/legacy/index.js +27 -4
- package/lib/listeners/legacy/index.js.map +1 -1
- package/lib/listeners/legacy/notifier/Notifier.d.ts +3 -3
- package/lib/listeners/legacy/notifier/Notifier.d.ts.map +1 -1
- package/lib/listeners/legacy/notifier/Notifier.js +2 -2
- package/lib/listeners/legacy/notifier/Notifier.js.map +1 -1
- package/lib/listeners/legacy/notifier/ResultMapper.d.ts +1 -1
- package/lib/listeners/legacy/notifier/ResultMapper.d.ts.map +1 -1
- package/lib/listeners/legacy/notifier/ResultMapper.js +3 -3
- package/lib/listeners/legacy/notifier/ResultMapper.js.map +1 -1
- package/lib/listeners/legacy/notifier/index.d.ts +2 -2
- package/lib/listeners/legacy/notifier/index.d.ts.map +1 -1
- package/lib/listeners/legacy/notifier/index.js +2 -2
- package/lib/listeners/legacy/notifier/index.js.map +1 -1
- package/lib/listeners/messages/CucumberMessagesListener.d.ts +4 -5
- package/lib/listeners/messages/CucumberMessagesListener.d.ts.map +1 -1
- package/lib/listeners/messages/CucumberMessagesListener.js +9 -6
- package/lib/listeners/messages/CucumberMessagesListener.js.map +1 -1
- package/lib/listeners/messages/index.d.ts +1 -1
- package/lib/listeners/messages/index.d.ts.map +1 -1
- package/lib/listeners/messages/index.js +5 -2
- package/lib/listeners/messages/index.js.map +1 -1
- package/lib/listeners/messages/parser/CucumberMessagesParser.d.ts +2 -2
- package/lib/listeners/messages/parser/CucumberMessagesParser.d.ts.map +1 -1
- package/lib/listeners/messages/parser/CucumberMessagesParser.js +6 -6
- package/lib/listeners/messages/parser/CucumberMessagesParser.js.map +1 -1
- package/lib/listeners/messages/parser/types/ExtractedScenario.d.ts +1 -1
- package/lib/listeners/messages/parser/types/ExtractedScenario.d.ts.map +1 -1
- package/lib/listeners/messages/parser/types/ExtractedScenarioOutline.d.ts +1 -1
- package/lib/listeners/messages/parser/types/ExtractedScenarioOutline.d.ts.map +1 -1
- package/lib/listeners/messages/parser/types/index.d.ts +2 -2
- package/lib/listeners/messages/parser/types/index.d.ts.map +1 -1
- package/lib/listeners/messages/parser/types/index.js +2 -2
- package/lib/listeners/messages/parser/types/index.js.map +1 -1
- package/lib/package.json +1 -0
- package/package.json +43 -8
- package/src/adapter/CucumberCLIAdapter.ts +9 -9
- package/src/adapter/CucumberOptions.ts +3 -3
- package/src/adapter/index.ts +4 -4
- package/src/adapter/output/SerenityFormatterOutput.ts +1 -1
- package/src/adapter/output/StandardOutput.ts +3 -3
- package/src/adapter/output/StandardOutputDescriptor.ts +1 -1
- package/src/adapter/output/TempFileOutput.ts +4 -4
- package/src/adapter/output/TempFileOutputDescriptor.ts +2 -2
- package/src/adapter/output/index.ts +4 -4
- package/src/errors/AmbiguousStepDefinitionError.ts +1 -1
- package/src/errors/index.ts +1 -1
- package/src/index.ts +7 -4
- package/src/listeners/legacy/CucumberEventProtocolAdapter.ts +8 -8
- package/src/listeners/legacy/Dependencies.ts +3 -3
- package/src/listeners/legacy/cucumber-0.ts +8 -8
- package/src/listeners/legacy/cucumber-1.ts +1 -1
- package/src/listeners/legacy/cucumber-2.ts +5 -6
- package/src/listeners/legacy/cucumber-3.ts +5 -5
- package/src/listeners/legacy/cucumber-4.ts +5 -5
- package/src/listeners/legacy/cucumber-5.ts +1 -1
- package/src/listeners/legacy/cucumber-6.ts +1 -1
- package/src/listeners/legacy/gherkin/GherkinParserAdapter.ts +1 -1
- package/src/listeners/legacy/gherkin/feature-files/Cache.ts +1 -1
- package/src/listeners/legacy/gherkin/feature-files/FeatureFileLoader.ts +5 -5
- package/src/listeners/legacy/gherkin/feature-files/FeatureFileMap.ts +2 -2
- package/src/listeners/legacy/gherkin/feature-files/FeatureFileMapper.ts +8 -8
- package/src/listeners/legacy/gherkin/feature-files/FeatureFileParser.ts +3 -3
- package/src/listeners/legacy/gherkin/feature-files/errors/ItemNotFoundError.ts +1 -1
- package/src/listeners/legacy/gherkin/feature-files/errors/UnableToParseFeatureFileError.ts +1 -1
- package/src/listeners/legacy/gherkin/feature-files/errors/UnableToReadFeatureFileError.ts +1 -1
- package/src/listeners/legacy/gherkin/feature-files/errors/UnableToRetrieveFeatureFileMap.ts +1 -1
- package/src/listeners/legacy/gherkin/feature-files/errors/index.ts +4 -4
- package/src/listeners/legacy/gherkin/feature-files/index.ts +5 -5
- package/src/listeners/legacy/gherkin/index.ts +3 -3
- package/src/listeners/legacy/gherkin/model/Background.ts +4 -4
- package/src/listeners/legacy/gherkin/model/Feature.ts +4 -4
- package/src/listeners/legacy/gherkin/model/FeatureFileNode.ts +2 -2
- package/src/listeners/legacy/gherkin/model/Hook.ts +1 -1
- package/src/listeners/legacy/gherkin/model/Scenario.ts +5 -5
- package/src/listeners/legacy/gherkin/model/ScenarioOutline.ts +4 -4
- package/src/listeners/legacy/gherkin/model/Step.ts +1 -1
- package/src/listeners/legacy/gherkin/model/index.ts +7 -7
- package/src/listeners/legacy/gherkin/nodes/ASTNode.ts +1 -1
- package/src/listeners/legacy/gherkin/nodes/Background.ts +1 -1
- package/src/listeners/legacy/gherkin/nodes/Comment.ts +1 -1
- package/src/listeners/legacy/gherkin/nodes/DataTable.ts +2 -2
- package/src/listeners/legacy/gherkin/nodes/DocString.ts +1 -1
- package/src/listeners/legacy/gherkin/nodes/Examples.ts +3 -3
- package/src/listeners/legacy/gherkin/nodes/Feature.ts +3 -3
- package/src/listeners/legacy/gherkin/nodes/GherkinDocument.ts +2 -2
- package/src/listeners/legacy/gherkin/nodes/Scenario.ts +2 -2
- package/src/listeners/legacy/gherkin/nodes/ScenarioDefinition.ts +3 -3
- package/src/listeners/legacy/gherkin/nodes/ScenarioOutline.ts +3 -3
- package/src/listeners/legacy/gherkin/nodes/Step.ts +2 -2
- package/src/listeners/legacy/gherkin/nodes/StepArgument.ts +1 -1
- package/src/listeners/legacy/gherkin/nodes/TableCell.ts +1 -1
- package/src/listeners/legacy/gherkin/nodes/TableRow.ts +2 -2
- package/src/listeners/legacy/gherkin/nodes/Tag.ts +1 -1
- package/src/listeners/legacy/gherkin/nodes/index.ts +16 -16
- package/src/listeners/legacy/index.ts +27 -5
- package/src/listeners/legacy/notifier/Notifier.ts +6 -6
- package/src/listeners/legacy/notifier/ResultMapper.ts +3 -3
- package/src/listeners/legacy/notifier/index.ts +2 -2
- package/src/listeners/messages/CucumberMessagesListener.ts +8 -7
- package/src/listeners/messages/index.ts +3 -2
- package/src/listeners/messages/parser/CucumberMessagesParser.ts +9 -9
- package/src/listeners/messages/parser/types/ExtractedScenario.ts +1 -1
- package/src/listeners/messages/parser/types/ExtractedScenarioOutline.ts +1 -1
- package/src/listeners/messages/parser/types/index.ts +2 -2
- package/tsconfig-cjs.build.json +13 -0
- package/tsconfig-esm.build.json +13 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { TestRunnerAdapter } from '@serenity-js/core/
|
|
2
|
-
import type { FileSystem, ModuleLoader } from '@serenity-js/core/
|
|
3
|
-
import type { Outcome } from '@serenity-js/core/
|
|
4
|
-
import type { CucumberConfig } from './CucumberConfig';
|
|
5
|
-
import type { SerenityFormatterOutput } from './output';
|
|
1
|
+
import type { TestRunnerAdapter } from '@serenity-js/core/adapter';
|
|
2
|
+
import type { FileSystem, ModuleLoader } from '@serenity-js/core/io';
|
|
3
|
+
import type { Outcome } from '@serenity-js/core/model';
|
|
4
|
+
import type { CucumberConfig } from './CucumberConfig.js';
|
|
5
|
+
import type { SerenityFormatterOutput } from './output/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Allows for programmatic execution of Cucumber test scenarios.
|
|
8
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CucumberCLIAdapter.d.ts","sourceRoot":"","sources":["../../src/adapter/CucumberCLIAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"CucumberCLIAdapter.d.ts","sourceRoot":"","sources":["../../src/adapter/CucumberCLIAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,KAAK,EAAoB,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAEnF;;;;;;;GAOG;AACH,qBAAa,kBAAmB,YAAW,iBAAiB;IAQpD,OAAO,CAAC,QAAQ,CAAC,MAAM;IAEvB,OAAO,CAAC,QAAQ,CAAC,MAAM;IAR3B,OAAO,CAAC,gBAAgB,CAAgB;IAExC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAkB;gBAGtC,MAAM,EAAE,cAAc,EACL,MAAM,EAAE,YAAY,EACrC,UAAU,EAAE,UAAU,EACL,MAAM,EAAE,uBAAuB;IAKpD;;OAEG;IACH,gBAAgB,IAAI,OAAO,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;IAM9C;;;;;OAKG;IACG,IAAI,CAAC,gBAAgB,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAYrD;;;;;OAKG;IACH,aAAa,IAAI,MAAM;IAYvB;;OAEG;IACG,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;IAU1B,OAAO,CAAC,YAAY;YAkCN,iBAAiB;YAcjB,6BAA6B;YAK7B,kBAAkB;IAmChC,OAAO,CAAC,gBAAgB;IAexB,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,mBAAmB;IAa3B,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,mBAAmB;CAO9B"}
|
|
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.CucumberCLIAdapter = void 0;
|
|
7
7
|
const node_path_1 = __importDefault(require("node:path"));
|
|
8
|
-
const io_1 = require("@serenity-js/core/
|
|
9
|
-
const model_1 = require("@serenity-js/core/
|
|
10
|
-
const
|
|
8
|
+
const io_1 = require("@serenity-js/core/io");
|
|
9
|
+
const model_1 = require("@serenity-js/core/model");
|
|
10
|
+
const CucumberOptions_js_1 = require("./CucumberOptions.js");
|
|
11
11
|
/**
|
|
12
12
|
* Allows for programmatic execution of Cucumber test scenarios.
|
|
13
13
|
*
|
|
@@ -24,7 +24,7 @@ class CucumberCLIAdapter {
|
|
|
24
24
|
constructor(config, loader, fileSystem, output) {
|
|
25
25
|
this.loader = loader;
|
|
26
26
|
this.output = output;
|
|
27
|
-
this.options = new
|
|
27
|
+
this.options = new CucumberOptions_js_1.CucumberOptions(new io_1.FileFinder(io_1.Path.from(this.loader.cwd)), fileSystem, config);
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Scenario success threshold for this test runner, calculated based on [`CucumberConfig`](https://serenity-js.org/api/cucumber-adapter/interface/CucumberConfig/)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CucumberCLIAdapter.js","sourceRoot":"","sources":["../../src/adapter/CucumberCLIAdapter.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAI7B,
|
|
1
|
+
{"version":3,"file":"CucumberCLIAdapter.js","sourceRoot":"","sources":["../../src/adapter/CucumberCLIAdapter.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAI7B,6CAAiE;AAEjE,mDAAkF;AAGlF,6DAAuD;AAGvD;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IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,sBAAsB,EAAE,GAAG,gBAAgB,CAAC,CAAC;iBAC1E,GAAG,CAAC,CAAC,aAAsB,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;QACpD,CAAC,CAAC,CAAA;IACN,CAAC;CACJ;AA3ND,gDA2NC;AAED;;GAEG;AACH,SAAS,qBAAqB,CAAI,MAAwB;IACtD,OAAO,CAAC,MAAS,EAAE,EAAE;QACjB,OAAO,MAAM,CAAC,OAAO,EAAE;aAClB,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC;IAC5B,CAAC,CAAA;AACL,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,MAAwB;IAC/C,OAAO,CAAC,KAAY,EAAE,EAAE;QACpB,OAAO,MAAM,CAAC,OAAO,EAAE;aAClB,IAAI,CAAC,GAAG,EAAE;YACP,MAAM,KAAK,CAAC;QAChB,CAAC,EAAE,YAAY,CAAC,EAAE;YACd,MAAM,KAAK,CAAC;QAChB,CAAC,CAAC,CAAC;IACX,CAAC,CAAA;AACL,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IConfiguration } from '@cucumber/cucumber/api';
|
|
2
|
-
import type { FileFinder, FileSystem } from '@serenity-js/core/
|
|
3
|
-
import { Version } from '@serenity-js/core/
|
|
4
|
-
import type { CucumberConfig } from './CucumberConfig';
|
|
2
|
+
import type { FileFinder, FileSystem } from '@serenity-js/core/io';
|
|
3
|
+
import { Version } from '@serenity-js/core/io';
|
|
4
|
+
import type { CucumberConfig } from './CucumberConfig.js';
|
|
5
5
|
/**
|
|
6
6
|
* @private
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CucumberOptions.d.ts","sourceRoot":"","sources":["../../src/adapter/CucumberOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CucumberOptions.d.ts","sourceRoot":"","sources":["../../src/adapter/CucumberOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAQ,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;GAEG;AACH,qBAAa,eAAe;IAEpB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAFN,MAAM,EAAE,UAAU,EAClB,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,cAAc;IAI3C,QAAQ,IAAI,OAAO;IAInB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE;IAgBlD,OAAO,CAAC,OAAO;IAYf,0BAA0B,IAAI,OAAO,CAAC,cAAc,CAAC;IAgCrD,OAAO,CAAC,4BAA4B;IAUpC,OAAO,CAAC,cAAc;IAiBtB,OAAO,CAAC,SAAS;IAYjB,OAAO,CAAC,QAAQ;IAMhB;;OAEG;IACH,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,SAAS;IAWjB,OAAO,CAAC,YAAY;CAKvB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CucumberOptions = void 0;
|
|
4
4
|
const core_1 = require("@serenity-js/core");
|
|
5
|
-
const io_1 = require("@serenity-js/core/
|
|
5
|
+
const io_1 = require("@serenity-js/core/io");
|
|
6
6
|
/**
|
|
7
7
|
* @private
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CucumberOptions.js","sourceRoot":"","sources":["../../src/adapter/CucumberOptions.ts"],"names":[],"mappings":";;;AACA,4CAAuD;AAEvD,
|
|
1
|
+
{"version":3,"file":"CucumberOptions.js","sourceRoot":"","sources":["../../src/adapter/CucumberOptions.ts"],"names":[],"mappings":";;;AACA,4CAAuD;AAEvD,6CAAqD;AAIrD;;GAEG;AACH,MAAa,eAAe;IAEH;IACA;IACA;IAHrB,YACqB,MAAkB,EAClB,UAAsB,EACtB,MAAsB;QAFtB,WAAM,GAAN,MAAM,CAAY;QAClB,eAAU,GAAV,UAAU,CAAY;QACtB,WAAM,GAAN,MAAM,CAAgB;IAE3C,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IAC1C,CAAC;IAED,sBAAsB,CAAC,OAAgB;QAEnC,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;aAC1B,MAAM,CACH,CAAC,GAAG,EAAE,MAA4B,EAAE,EAAE,CAClC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAC3B,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC;YACvE,CAAC,CAAC,GAAG;QAEb,uFAAuF;QACvF,gHAAgH;QAChH,CAAE,MAAM,EAAE,aAAa,CAAE,CAC5B;aACA,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,SAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACpH,CA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AAI;WACd,KAAK,KAAK,EAAE;WACZ,CAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;AAC1D,CAAC;AAED,SAAS,MAAM,CAAI,aAAsB;IACrC,OAAO,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AACvD,CAAC"}
|
package/lib/adapter/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './CucumberCLIAdapter';
|
|
2
|
-
export * from './CucumberConfig';
|
|
3
|
-
export * from './CucumberFormat';
|
|
4
|
-
export * from './output';
|
|
1
|
+
export * from './CucumberCLIAdapter.js';
|
|
2
|
+
export * from './CucumberConfig.js';
|
|
3
|
+
export * from './CucumberFormat.js';
|
|
4
|
+
export * from './output/index.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/adapter/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/adapter/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
package/lib/adapter/index.js
CHANGED
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./CucumberCLIAdapter"), exports);
|
|
18
|
-
__exportStar(require("./CucumberConfig"), exports);
|
|
19
|
-
__exportStar(require("./CucumberFormat"), exports);
|
|
20
|
-
__exportStar(require("./output"), exports);
|
|
17
|
+
__exportStar(require("./CucumberCLIAdapter.js"), exports);
|
|
18
|
+
__exportStar(require("./CucumberConfig.js"), exports);
|
|
19
|
+
__exportStar(require("./CucumberFormat.js"), exports);
|
|
20
|
+
__exportStar(require("./output/index.js"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
package/lib/adapter/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/adapter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/adapter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SerenityFormatterOutput.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/SerenityFormatterOutput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SerenityFormatterOutput.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/SerenityFormatterOutput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,GAAG,IAAI,gBAAgB,CAAC;CAC3B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { OutputDescriptor } from './OutputDescriptor';
|
|
2
|
-
import type { SerenityFormatterOutput } from './SerenityFormatterOutput';
|
|
1
|
+
import type { OutputDescriptor } from './OutputDescriptor.js';
|
|
2
|
+
import type { SerenityFormatterOutput } from './SerenityFormatterOutput.js';
|
|
3
3
|
/**
|
|
4
4
|
* @group Integration
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardOutput.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/StandardOutput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"StandardOutput.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/StandardOutput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAG5E;;GAEG;AACH,qBAAa,cAAe,YAAW,uBAAuB;IAC1D,GAAG,IAAI,gBAAgB;CAG1B"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StandardOutput = void 0;
|
|
4
|
-
const
|
|
4
|
+
const StandardOutputDescriptor_js_1 = require("./StandardOutputDescriptor.js");
|
|
5
5
|
/**
|
|
6
6
|
* @group Integration
|
|
7
7
|
*/
|
|
8
8
|
class StandardOutput {
|
|
9
9
|
get() {
|
|
10
|
-
return new
|
|
10
|
+
return new StandardOutputDescriptor_js_1.StandardOutputDescriptor();
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
exports.StandardOutput = StandardOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardOutput.js","sourceRoot":"","sources":["../../../src/adapter/output/StandardOutput.ts"],"names":[],"mappings":";;;AAEA
|
|
1
|
+
{"version":3,"file":"StandardOutput.js","sourceRoot":"","sources":["../../../src/adapter/output/StandardOutput.ts"],"names":[],"mappings":";;;AAEA,+EAAyE;AAEzE;;GAEG;AACH,MAAa,cAAc;IACvB,GAAG;QACC,OAAO,IAAI,sDAAwB,EAAE,CAAC;IAC1C,CAAC;CACJ;AAJD,wCAIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardOutputDescriptor.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/StandardOutputDescriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"StandardOutputDescriptor.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/StandardOutputDescriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D;;GAEG;AACH,qBAAa,wBAAyB,YAAW,gBAAgB;IAC7D,KAAK,IAAI,MAAM;IAIf,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAG3B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { FileSystem } from '@serenity-js/core/
|
|
2
|
-
import type { OutputDescriptor } from './OutputDescriptor';
|
|
3
|
-
import type { SerenityFormatterOutput } from './SerenityFormatterOutput';
|
|
1
|
+
import type { FileSystem } from '@serenity-js/core/io';
|
|
2
|
+
import type { OutputDescriptor } from './OutputDescriptor.js';
|
|
3
|
+
import type { SerenityFormatterOutput } from './SerenityFormatterOutput.js';
|
|
4
4
|
/**
|
|
5
5
|
* @group Integration
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TempFileOutput.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/TempFileOutput.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TempFileOutput.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/TempFileOutput.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAG5E;;GAEG;AACH,qBAAa,cAAe,YAAW,uBAAuB;IAC9C,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,UAAU;IAG3C,GAAG,IAAI,gBAAgB;CAG1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TempFileOutput = void 0;
|
|
4
|
-
const
|
|
4
|
+
const TempFileOutputDescriptor_js_1 = require("./TempFileOutputDescriptor.js");
|
|
5
5
|
/**
|
|
6
6
|
* @group Integration
|
|
7
7
|
*/
|
|
@@ -11,7 +11,7 @@ class TempFileOutput {
|
|
|
11
11
|
this.fs = fs;
|
|
12
12
|
}
|
|
13
13
|
get() {
|
|
14
|
-
return new
|
|
14
|
+
return new TempFileOutputDescriptor_js_1.TempFileOutputDescriptor(this.fs);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.TempFileOutput = TempFileOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TempFileOutput.js","sourceRoot":"","sources":["../../../src/adapter/output/TempFileOutput.ts"],"names":[],"mappings":";;;AAKA
|
|
1
|
+
{"version":3,"file":"TempFileOutput.js","sourceRoot":"","sources":["../../../src/adapter/output/TempFileOutput.ts"],"names":[],"mappings":";;;AAKA,+EAAyE;AAEzE;;GAEG;AACH,MAAa,cAAc;IACM;IAA7B,YAA6B,EAAc;QAAd,OAAE,GAAF,EAAE,CAAY;IAC3C,CAAC;IAED,GAAG;QACC,OAAO,IAAI,sDAAwB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjD,CAAC;CACJ;AAPD,wCAOC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type FileSystem } from '@serenity-js/core/
|
|
2
|
-
import type { OutputDescriptor } from './OutputDescriptor';
|
|
1
|
+
import { type FileSystem } from '@serenity-js/core/io';
|
|
2
|
+
import type { OutputDescriptor } from './OutputDescriptor.js';
|
|
3
3
|
/**
|
|
4
4
|
* Cucumber.js allows [max 1 formatter per output](https://github.com/cucumber/cucumber-js/blob/625fab034eea768bf74f7a46993a57182204ddf6/src/cli/index.ts#L83-L140)
|
|
5
5
|
* and doesn't allow writing to \\.\NUL on Windows (equivalent of *nix /dev/null) because of the [check in OptionSplitter](https://github.com/cucumber/cucumber-js/blob/625fab034eea768bf74f7a46993a57182204ddf6/src/cli/option_splitter.ts#L3)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TempFileOutputDescriptor.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/TempFileOutputDescriptor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,
|
|
1
|
+
{"version":3,"file":"TempFileOutputDescriptor.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/TempFileOutputDescriptor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,sBAAsB,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D;;;;;;GAMG;AACH,qBAAa,wBAAyB,YAAW,gBAAgB;IAGjD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAFvC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAO;gBAEC,UAAU,EAAE,UAAU;IAKnD,KAAK,IAAI,MAAM;IAIf,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAG3B"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TempFileOutputDescriptor = void 0;
|
|
4
4
|
/* eslint-disable unicorn/prevent-abbreviations */
|
|
5
|
-
const io_1 = require("@serenity-js/core/
|
|
5
|
+
const io_1 = require("@serenity-js/core/io");
|
|
6
6
|
/**
|
|
7
7
|
* Cucumber.js allows [max 1 formatter per output](https://github.com/cucumber/cucumber-js/blob/625fab034eea768bf74f7a46993a57182204ddf6/src/cli/index.ts#L83-L140)
|
|
8
8
|
* and doesn't allow writing to \\.\NUL on Windows (equivalent of *nix /dev/null) because of the [check in OptionSplitter](https://github.com/cucumber/cucumber-js/blob/625fab034eea768bf74f7a46993a57182204ddf6/src/cli/option_splitter.ts#L3)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TempFileOutputDescriptor.js","sourceRoot":"","sources":["../../../src/adapter/output/TempFileOutputDescriptor.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"TempFileOutputDescriptor.js","sourceRoot":"","sources":["../../../src/adapter/output/TempFileOutputDescriptor.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAClD,6CAA6D;AAI7D;;;;;;GAMG;AACH,MAAa,wBAAwB;IAGJ;IAFZ,IAAI,CAAO;IAE5B,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QAE/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,SAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC9F,CAAC;IAED,KAAK;QACD,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;IAC3B,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;CACJ;AAfD,4DAeC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './OutputDescriptor';
|
|
2
|
-
export * from './SerenityFormatterOutput';
|
|
3
|
-
export * from './StandardOutput';
|
|
4
|
-
export * from './TempFileOutput';
|
|
1
|
+
export * from './OutputDescriptor.js';
|
|
2
|
+
export * from './SerenityFormatterOutput.js';
|
|
3
|
+
export * from './StandardOutput.js';
|
|
4
|
+
export * from './TempFileOutput.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/adapter/output/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
|
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./OutputDescriptor"), exports);
|
|
18
|
-
__exportStar(require("./SerenityFormatterOutput"), exports);
|
|
19
|
-
__exportStar(require("./StandardOutput"), exports);
|
|
20
|
-
__exportStar(require("./TempFileOutput"), exports);
|
|
17
|
+
__exportStar(require("./OutputDescriptor.js"), exports);
|
|
18
|
+
__exportStar(require("./SerenityFormatterOutput.js"), exports);
|
|
19
|
+
__exportStar(require("./StandardOutput.js"), exports);
|
|
20
|
+
__exportStar(require("./TempFileOutput.js"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/adapter/output/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/adapter/output/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,+DAA6C;AAC7C,sDAAoC;AACpC,sDAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmbiguousStepDefinitionError.d.ts","sourceRoot":"","sources":["../../src/errors/AmbiguousStepDefinitionError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AmbiguousStepDefinitionError.d.ts","sourceRoot":"","sources":["../../src/errors/AmbiguousStepDefinitionError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,YAAY;gBAC9C,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK;CAG7C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AmbiguousStepDefinitionError = void 0;
|
|
4
|
-
const errors_1 = require("@serenity-js/core/
|
|
4
|
+
const errors_1 = require("@serenity-js/core/errors");
|
|
5
5
|
/**
|
|
6
6
|
* Thrown when more than one Cucumber step definition matches
|
|
7
7
|
* a Cucumber step.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmbiguousStepDefinitionError.js","sourceRoot":"","sources":["../../src/errors/AmbiguousStepDefinitionError.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"AmbiguousStepDefinitionError.js","sourceRoot":"","sources":["../../src/errors/AmbiguousStepDefinitionError.ts"],"names":[],"mappings":";;;AAAA,qDAAwD;AAExD;;;GAGG;AACH,MAAa,4BAA6B,SAAQ,qBAAY;IAC1D,YAAY,OAAe,EAAE,KAAa;QACtC,KAAK,CAAC,4BAA4B,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IACxD,CAAC;CACJ;AAJD,oEAIC"}
|
package/lib/errors/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './AmbiguousStepDefinitionError';
|
|
1
|
+
export * from './AmbiguousStepDefinitionError.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
|
package/lib/errors/index.js
CHANGED
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./AmbiguousStepDefinitionError"), exports);
|
|
17
|
+
__exportStar(require("./AmbiguousStepDefinitionError.js"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
package/lib/errors/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAcA;;;GAGG;AACH,QAAA,MAAM,QAAQ,EAAE,OAE4B,CAAA;AAE5C,eAAe,QAAQ,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -32,9 +32,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
36
|
const core_1 = require("@serenity-js/core");
|
|
36
|
-
const io_1 = require("@serenity-js/core/
|
|
37
|
+
const io_1 = require("@serenity-js/core/io");
|
|
37
38
|
const process = __importStar(require("process"));
|
|
39
|
+
const index_js_1 = require("./listeners/legacy/index.js");
|
|
40
|
+
const index_js_2 = require("./listeners/messages/index.js");
|
|
38
41
|
const cwd = process.cwd();
|
|
39
42
|
const loader = new io_1.ModuleLoader(cwd);
|
|
40
43
|
const version = loader.hasAvailable('@cucumber/cucumber')
|
|
@@ -45,7 +48,7 @@ const version = loader.hasAvailable('@cucumber/cucumber')
|
|
|
45
48
|
* and informs Serenity/JS when test scenarios and Cucumber steps start, finish, and with what result.
|
|
46
49
|
*/
|
|
47
50
|
const listener = version.isAtLeast(new io_1.Version('7.0.0'))
|
|
48
|
-
?
|
|
49
|
-
:
|
|
50
|
-
|
|
51
|
+
? (0, index_js_2.createListener)(core_1.serenity, loader)
|
|
52
|
+
: (0, index_js_1.createListener)(core_1.serenity, loader);
|
|
53
|
+
exports.default = listener;
|
|
51
54
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA6C;AAC7C,6CAA6D;AAC7D,iDAAmC;AAEnC,0DAAqF;AACrF,4DAAyF;AAEzF,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;AAC1B,MAAM,MAAM,GAAG,IAAI,iBAAY,CAAC,GAAG,CAAC,CAAC;AAErC,MAAM,OAAO,GAAG,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAAC;IACrD,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC;IACxC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;AAEnC;;;GAGG;AACH,MAAM,QAAQ,GAAY,OAAO,CAAC,SAAS,CAAC,IAAI,YAAO,CAAC,OAAO,CAAC,CAAC;IAC7D,CAAC,CAAC,IAAA,yBAAsB,EAAC,eAAQ,EAAE,MAAM,CAAC;IAC1C,CAAC,CAAC,IAAA,yBAAoB,EAAC,eAAQ,EAAE,MAAM,CAAC,CAAA;AAE5C,kBAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Outcome } from '@serenity-js/core/
|
|
2
|
-
import type { CucumberFormatterOptions } from './CucumberFormatterOptions';
|
|
3
|
-
import type { Dependencies } from './Dependencies';
|
|
1
|
+
import type { Outcome } from '@serenity-js/core/model';
|
|
2
|
+
import type { CucumberFormatterOptions } from './CucumberFormatterOptions.js';
|
|
3
|
+
import type { Dependencies } from './Dependencies.js';
|
|
4
4
|
/**
|
|
5
5
|
* @private
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CucumberEventProtocolAdapter.d.ts","sourceRoot":"","sources":["../../../src/listeners/legacy/CucumberEventProtocolAdapter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACR,OAAO,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"CucumberEventProtocolAdapter.d.ts","sourceRoot":"","sources":["../../../src/listeners/legacy/CucumberEventProtocolAdapter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACR,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAa5C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAatD;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,YAAY;oCAMjD,wBAAwB;sBAF1C,GAAG;4BAgHJ;YAAE,QAAQ,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,GAAG,KAAK,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,GAAG,OAAO;8BA4BvE,KAAK,GAAG,MAAM,GAAG,KAAK;;EAqBnD"}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.cucumberEventProtocolAdapter = cucumberEventProtocolAdapter;
|
|
4
4
|
const core_1 = require("@serenity-js/core");
|
|
5
|
-
const errors_1 = require("@serenity-js/core/
|
|
6
|
-
const io_1 = require("@serenity-js/core/
|
|
7
|
-
const model_1 = require("@serenity-js/core/
|
|
5
|
+
const errors_1 = require("@serenity-js/core/errors");
|
|
6
|
+
const io_1 = require("@serenity-js/core/io");
|
|
7
|
+
const model_1 = require("@serenity-js/core/model");
|
|
8
8
|
const tiny_types_1 = require("tiny-types");
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const index_js_1 = require("../../errors/index.js");
|
|
10
|
+
const index_js_2 = require("./gherkin/index.js");
|
|
11
11
|
/**
|
|
12
12
|
* @private
|
|
13
13
|
*/
|
|
@@ -26,27 +26,27 @@ function cucumberEventProtocolAdapter({ serenity, notifier, mapper, cache }) {
|
|
|
26
26
|
eventBroadcaster.on('test-case-prepared', ({ steps, sourceLocation }) => {
|
|
27
27
|
(0, tiny_types_1.ensure)('test-case-prepared :: steps', steps, (0, tiny_types_1.isDefined)());
|
|
28
28
|
(0, tiny_types_1.ensure)('test-case-prepared :: sourceLocation', sourceLocation, (0, tiny_types_1.isDefined)());
|
|
29
|
-
const path = new io_1.Path(sourceLocation.uri), map = cache.get(path), scenario = map.get(
|
|
29
|
+
const path = new io_1.Path(sourceLocation.uri), map = cache.get(path), scenario = map.get(index_js_2.Scenario).onLine(sourceLocation.line);
|
|
30
30
|
if (scenario.outline) {
|
|
31
|
-
const outline = map.get(
|
|
32
|
-
map.set(new
|
|
31
|
+
const outline = map.get(index_js_2.ScenarioOutline).onLine(scenario.outline.line);
|
|
32
|
+
map.set(new index_js_2.ScenarioOutline(outline.location, outline.name, outline.description, outline.steps, outline.parameters)).onLine(scenario.outline.line);
|
|
33
33
|
}
|
|
34
|
-
map.set(new
|
|
34
|
+
map.set(new index_js_2.Scenario(scenario.location, scenario.name, scenario.description, interleaveStepsAndHooks(scenario.steps, steps), scenario.tags, scenario.outline)).onLine(sourceLocation.line);
|
|
35
35
|
});
|
|
36
36
|
eventBroadcaster.on('test-case-started', ({ sourceLocation }) => {
|
|
37
37
|
(0, tiny_types_1.ensure)('test-case-started :: sourceLocation', sourceLocation, (0, tiny_types_1.isDefined)());
|
|
38
|
-
const map = cache.get(new io_1.Path(sourceLocation.uri)), scenario = map.get(
|
|
38
|
+
const map = cache.get(new io_1.Path(sourceLocation.uri)), scenario = map.get(index_js_2.Scenario).onLine(sourceLocation.line), sceneId = serenity.assignNewSceneId();
|
|
39
39
|
if (scenario.outline) {
|
|
40
|
-
const outline = map.get(
|
|
41
|
-
notifier.outlineDetected(sceneId, scenario, outline, map.getFirst(
|
|
40
|
+
const outline = map.get(index_js_2.ScenarioOutline).onLine(scenario.outline.line);
|
|
41
|
+
notifier.outlineDetected(sceneId, scenario, outline, map.getFirst(index_js_2.Feature));
|
|
42
42
|
}
|
|
43
|
-
notifier.scenarioStarts(sceneId, scenario, map.getFirst(
|
|
43
|
+
notifier.scenarioStarts(sceneId, scenario, map.getFirst(index_js_2.Feature));
|
|
44
44
|
});
|
|
45
45
|
eventBroadcaster.on('test-step-started', ({ index, testCase }) => {
|
|
46
46
|
(0, tiny_types_1.ensure)('test-step-started :: index', index, (0, tiny_types_1.isDefined)());
|
|
47
47
|
(0, tiny_types_1.ensure)('test-step-started :: testCase', testCase, (0, tiny_types_1.isDefined)());
|
|
48
|
-
const map = cache.get(new io_1.Path(testCase.sourceLocation.uri)), scenario = map.get(
|
|
49
|
-
if (step instanceof
|
|
48
|
+
const map = cache.get(new io_1.Path(testCase.sourceLocation.uri)), scenario = map.get(index_js_2.Scenario).onLine(testCase.sourceLocation.line), step = scenario.steps[index];
|
|
49
|
+
if (step instanceof index_js_2.Step) { // ignore hooks
|
|
50
50
|
notifier.stepStarts(step);
|
|
51
51
|
}
|
|
52
52
|
});
|
|
@@ -54,19 +54,19 @@ function cucumberEventProtocolAdapter({ serenity, notifier, mapper, cache }) {
|
|
|
54
54
|
(0, tiny_types_1.ensure)('test-step-finished :: index', index, (0, tiny_types_1.isDefined)());
|
|
55
55
|
(0, tiny_types_1.ensure)('test-step-finished :: result', result, (0, tiny_types_1.isDefined)());
|
|
56
56
|
(0, tiny_types_1.ensure)('test-step-finished :: testCase', testCase, (0, tiny_types_1.isDefined)());
|
|
57
|
-
const map = cache.get(new io_1.Path(testCase.sourceLocation.uri)), scenario = map.get(
|
|
58
|
-
if (step instanceof
|
|
57
|
+
const map = cache.get(new io_1.Path(testCase.sourceLocation.uri)), scenario = map.get(index_js_2.Scenario).onLine(testCase.sourceLocation.line), step = scenario.steps[index];
|
|
58
|
+
if (step instanceof index_js_2.Step) { // ignore hooks
|
|
59
59
|
notifier.stepFinished(step, this.outcomeFrom(result));
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
eventBroadcaster.on('test-case-finished', ({ result, sourceLocation }) => {
|
|
63
63
|
(0, tiny_types_1.ensure)('test-case-finished :: result', result, (0, tiny_types_1.isDefined)());
|
|
64
64
|
(0, tiny_types_1.ensure)('test-case-finished :: sourceLocation', sourceLocation, (0, tiny_types_1.isDefined)());
|
|
65
|
-
const map = cache.get(new io_1.Path(sourceLocation.uri)), scenario = map.get(
|
|
65
|
+
const map = cache.get(new io_1.Path(sourceLocation.uri)), scenario = map.get(index_js_2.Scenario).onLine(sourceLocation.line), nonHookSteps = scenario.steps.filter(step => step instanceof index_js_2.Step);
|
|
66
66
|
const outcome = nonHookSteps.length > 0
|
|
67
67
|
? this.outcomeFrom(result)
|
|
68
68
|
: new model_1.ImplementationPending(new errors_1.ImplementationPendingError(`"${scenario.name.value}" has no test steps`));
|
|
69
|
-
notifier.scenarioFinished(scenario, map.getFirst(
|
|
69
|
+
notifier.scenarioFinished(scenario, map.getFirst(index_js_2.Feature), outcome);
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
outcomeFrom(result) {
|
|
@@ -104,7 +104,7 @@ function cucumberEventProtocolAdapter({ serenity, notifier, mapper, cache }) {
|
|
|
104
104
|
cause: maybeError
|
|
105
105
|
});
|
|
106
106
|
case typeof maybeError === 'string' && maybeError.startsWith('Multiple step definitions match'):
|
|
107
|
-
return new
|
|
107
|
+
return new index_js_1.AmbiguousStepDefinitionError(maybeError);
|
|
108
108
|
default:
|
|
109
109
|
return errors_1.ErrorSerialiser.deserialiseFromStackTrace(maybeError);
|
|
110
110
|
}
|
|
@@ -118,7 +118,7 @@ function interleaveStepsAndHooks(steps, stepsLocations) {
|
|
|
118
118
|
const isAHook = (stepLocations) => stepLocations.actionLocation && !stepLocations.sourceLocation, matching = (location) => (step) => step.location.path.equals(new io_1.Path(location.sourceLocation.uri)) &&
|
|
119
119
|
step.location.line === location.sourceLocation.line;
|
|
120
120
|
return stepsLocations.map(location => isAHook(location)
|
|
121
|
-
? new
|
|
121
|
+
? new index_js_2.Hook(new io_1.FileSystemLocation(new io_1.Path(location.actionLocation.uri), location.actionLocation.line), new model_1.Name('Setup'))
|
|
122
122
|
: steps.find(matching(location)));
|
|
123
123
|
}
|
|
124
124
|
/**
|