cucumber / cucumber/compatibility-kit

Create scenario with java method and stacktrace elements

Open
#131 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.