Event <-> Message conversion (Mapping Document)

Aperta
#1,871 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
ruby
Ambito
documentation

Direzione di ricerca

Inizia leggendo il MessageBuilder menzionato nell'issue e individua le definizioni di eventi e messaggi per le coppie elencate. Confronta i listener attuali con le mappature proposte 1:1, 1:0 e degli eventi non gestiti, quindi documenta la mappatura confermata e tutti i dettagli di conversione ancora irrisolti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

:bank: debt
🤔 What's the problem you've observed?

We need to generate a mapping of events to messages. Ideally in the situation to start with we can generate both directly from emmittence - but then eventually we can remove events

✨ Do you have a proposal for making it better?

Event <-> Message 1:1 map

  • Envelope <-> Envelope
  • GherkinSourceRead <-> Source
  • StepDefinitionRegistered <-> StepDefinition
  • TestCaseReady <-> TestCase (With n nested TestStep)
  • TestCaseStarted <-> TestCaseStarted
  • TestCaseFinished <-> TestCaseFinished (With :will_be_retried attribute derived from combination of event AND repository object)
  • TestRunStarted <-> TestRunStarted
  • TestRunFinished <-> TestRunFinished (With :success attribute derived from event)
  • TestRunHookStarted <-> TestRunHookStarted
  • TestRunHookFinished <-> TestRunHookFinished (With nested TestStepResult)
  • TestStepStarted <-> TestStepStarted
  • TestStepFinished <-> TestStepFinished (With nested TestStepResult)
  • UndefinedParameterType <-> UndefinedParameterType

Event -> No Message 1:0 map

  • GherkinSourceParsed
  • HookTestStepCreated
  • StepActivated
  • TestStepCreated

Unhandled events (No listener in MessageBuilder)

  • TestCaseCreated
📚 Any additional context?

No response

Lingua principale
Ruby
Stelle
5.2k
Fork
1.1k
Merge medio
2g 14h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cucumber/cucumber-ruby

Tutte le issue di cucumber/cucumber-ruby

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.