cucumber / cucumber/godog

PickleStepResult should be public

Open
#704 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.7k
Forks
280
Avg merge
2d 20h
Merged PRs (30d)
2

Description

### 🤔 What's the problem you're trying to solve?

To implement a custom formatter like ProgressFormatter, you must be able to sort by Pickle Step ID. However `models.PickleStepResult` is an internal type, so this is impossible.

### ✨ What's your proposed solution?

Make PickleStepResult a public (non-internal type)

### ⛏ Have you considered any alternatives or workarounds?

N/A

### 📚 Any additional context?

Custom formatter example: https://github.com/cucumber/godog/tree/main/_examples/custom-formatter

Contributor guide

Open the contributing guide

Research direction

Start by locating models.PickleStepResult and reviewing the custom formatter example in _examples/custom-formatter. Confirm how ProgressFormatter needs to access and sort by Pickle Step ID; done means PickleStepResult is publicly accessible and the formatter use case can compile and work without an internal-type restriction.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.