Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Feature request: Cucumber "message" formatter replaces "json"

Aperta
#616 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Non è indicato alcun file o test. Inizia individuando il punto di ingresso del formatter di pytest-bdd e esaminando le indicazioni collegate sul formatter di cucumber-js e la specifica cucumber/messages. Done deve essere definito come un modo approvato da un maintainer per fornire l'output strutturato richiesto, con test che coprano il formato risultante.

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

Descrizione

blocked feature

Thanks for a great project!! 👋

According to the README for cucumber-js, the json formatter is in "maintenance" mode and seems to be slightly discouraged: https://github.com/cucumber/cucumber-js/blob/main/docs/formatters.md#json

Note: this formatter is in maintenance mode and won't have new features added to it. Where you need a structured data representation of your test run, it's best to use the message formatter. Tools that rely on this formatter will continue to work, but are encouraged to migrate to consume the message output instead.

I'm not sure exactly how to map the former JSON output to the new message format.

The format is specified in detail here: https://github.com/cucumber/messages

Note: I don't actually need the richness of the message formatter. In my case, it's just a simple reporting tool that doesn't support the legacy JSON format and likely won't build an implementation for it.

Lingua principale
Python
Stelle
1.5k
Fork
252
Merge medio
2h 8m
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 pytest-dev/pytest-bdd

Tutte le issue di pytest-dev/pytest-bdd

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.