codeceptjs / codeceptjs/CodeceptJS
Add support for gherkin contexts
オープン
- 主要言語
- JavaScript
- スター
- 4.2k
- フォーク
- 757
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 16
説明
#### What are you trying to achieve?
I would like to organize files with steps by context, similar to [codeception](https://codeception.com/docs/07-BDD#Configuration):
```js
"gherkin": {
"features": "./features/*.feature",
"contexts": {
"default": ["./step_definitions/steps.js"],
"tag": {
"fastlogin": ["./step_definitions/fastlogin.js"]
},
"role": {
"admin": ["./step_definitions/admin.js"]
}
}
}
```
#### What do you get instead?
This functionality could probably be simulated using events.
コントリビューションガイド
評価
この issue はまだ評価されていません。