codeceptjs / codeceptjs/CodeceptJS

Add support for gherkin contexts

Đang mở
#2,815 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
4.2k
Fork
757
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
16

Mô tả

#### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.