CucumberMessages (CucumberMessages v13.2.1)
This small library its sole purpose is to convert the protobuf schema to Elixir code. In order to use this library, you do not need protoc installed at all!
If you want to contribute to this library (or just update the protobuf schema and code), make sure you have
protoc installed and run:
MIX_ENV=prod mix protox.generate --output-path=lib/cucumber_messages/messages.ex messages.proto
If you want to contribute, please be so kind to run
mix format as well (this can take a while with an unformatted
Link to this section Summary
Link to this section Functions
Convert a list of envelopes to the passed format. At the moment only ndjson is supported until there is binary test data.
Because the underlying Protox library doesn't support JSON conversion, we had to write a manual implementation. ndjson formatting is, at the moment, only supported for the
cucumber_gherkin library. Other messages will not properly be formatted according to protobuf protocols.