Skip to content

godog should report failure if ambiguous matching steps are foundΒ #635

Closed
@Johnlon

Description

@Johnlon

Addressed by PR #636

πŸ€” What's the problem you're trying to solve?

I want my steps to register an error if there are multiple matching steps.
"Ambiguous step def"

✨ What's your proposed solution?

Cause godog to abort if multiple matches are found.
Currentlly it returns the first match so this would be a breaking change for some unsuspecting users of godog.

⛏ Have you considered any alternatives or workarounds?

No response

πŸ“š Any additional context?

This proposal would be consistent with other languages

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions