Skip to content

Envelope Migration: Remove StepDefinitionRegistered Event in favour of pre-existing envelope #1835

@luke-hill

Description

@luke-hill

🤔 What's the problem you've observed?

We need to begin removing all of the "other" events registered in cucumber-ruby in favour of envelopes.

The first step is to convert all existing events into envelope events, which are just a wrapper (basic), for envelope messages proper. Which then are treated as cucumber messages

  • Events::StepDefinitionRegistered
    • "Regular" Event registered HERE
    • "Envelope" Event registered HERE
  • Events::UndefinedParameterType
    • "Regular" Event registered HERE
    • "Envelope" Event NOT registered
  • Events::GherkinSourceRead
    • "Regular" Event registered HERE
    • "Envelope" Event NOT registered

✨ Do you have a proposal for making it better?

Begin to identify, refactor, and delete the events - Watch what fails and begin to fix it up

📚 Any additional context?

This will need to be done several times for all the different ones

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions