cucumber / messages

A message protocol for representing results and other information from Cucumber
MIT License
19 stars 16 forks source link

Add support of Python #162

Open elchupanebrej opened 1 year ago

elchupanebrej commented 1 year ago

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

Python is a very popular language, but there is no reference implementation of messages for python

✨ What's your proposed solution?

Take out https://github.com/elchupanebrej/pytest-bdd-ng/blob/default/src/pytest_bdd/model/messages.py model as reference implementation of messages for python

mpkorstanje commented 1 year ago

This projects generates all the code based on the JSON schema.

New language implementations can be added adding a template to https://github.com/cucumber/messages/tree/main/jsonschema/scripts/templates and copying the Makefile from an existing language implementation.

Probably best to hop onto Slack if you're interested in contributing one.