cucumber / cucumber/compatibility-kit
Create scenario with java method and stacktrace elements
- 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?
[The pretty formatter prints a location in the comments](https://github.com/cucumber/pretty-formatter?tab=readme-ov-file#pretty-formatter). This location is either based on `SourceReference.uri` `SourceReference.javaMethod` or `SourceReference.javaStackTraceElement`.
To test if these are formatted correctly, I want to use the CCK.
### ✨ What's your proposed solution?
Create scenario with java method and stacktrace elements
### ⛏ Have you considered any alternatives or workarounds?
_No response_
### 📚 Any additional context?
_No response_
Contributor guide
Research direction
Review the CCK's existing scenario definitions and the pretty formatter's handling of SourceReference.uri, SourceReference.javaMethod, and SourceReference.javaStackTraceElement. Add coverage for a Java method and stacktrace element, then run the relevant CCK acceptance tests and confirm the formatter renders both locations correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100