cucumber / cucumber/compatibility-kit
Create scenario with before and after step hooks
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 7
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 3
Description
### 🤔 What's the problem you're trying to solve?
Testing the [message based json formatter](https://github.com/cucumber/cucumber-json-formatter/pull/1) shows that there is a lack of coverage for scenarios with before and after step hooks.
### ✨ What's your proposed solution?
Add sample with before and after step hooks as well as some interesting combinations where these hooks fail. And a sample where attachments are made from a before/after step hook.
### ⛏ Have you considered any alternatives or workarounds?
_No response_
### 📚 Any additional context?
_No response_
Contributor guide
Research direction
Start by reviewing the compatibility-kit scenario samples and the linked message based JSON formatter pull request to understand the existing coverage. Add scenarios for before and after step hooks, including failing-hook combinations and attachments from those hooks, then verify the formatter coverage includes each case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100