Cucumber Wire Protocol
Created on 2022-12-19T12:22:05-06:00
Cucumber used to have a wire protocol where tests could be run against daemons written in other languages. It works basically like a JSON-RPC connection.
These methods existed:
- begin_scenario: a test scenario is about to begin
- end_scenario: a test scenario has ended
- step_matches: ask if this endpoint can respond to a given string; if it can then return the arguments required and the method ID
- invoke: execute a method by ID and argument bundle
- snippet_text: some kind of error message; lets the server suggest a code stub to implement support for an unmatched step