jbehave - Jbehave 在生命周期步骤中传递数据
问题描述
在下面的示例中,数据是在场景步骤中传递的,但不是在生命周期步骤中,知道为什么吗?
Lifecycle:
Before:
Scope: SCENARIO|STORY
Outcome: ANY
When I enter search criteria (<ProfilerEntityName>) on the Search page
Given I navigate to CB Finder
When I select file with Name (<FileName>)
When I delete the file which is currently selected
Scenario: Basic report functionality
When I enter search criteria (<ProfilerEntityName>) on the Search page
Given I navigate to CB Finder
When I select file with Name (<FileName>)
When I delete file which is currently selected
Examples:
| ProfilerEntityName |FileName |
|* |sha|Call |
解决方案
推荐阅读
- github - git init 命令显示“没有这样的文件或目录”
- python - '\b' 如何在 Python 中工作?
- python - 如何阻止这个快速分解程序在第三个输出之后打印?
- javascript - 查询参数到关联数组
- php - 如何从索引范围中随机化数组?
- c# - 如何刷新主/父组件中的 blazor 子/子组件?
- mongodb - 如何获取在 mongoDB 集合中具有一定数量的字段的人数?
- python - 将嵌套命名元组的列表展平为字典列表
- android - 在 Canvas 上将位图绘制为线条
- mysql - 为什么我不断收到此错误:ERROR 1064 (42000)?