Every repository with this icon (
Every repository with this icon (
Wire Protocol
A wire protocol is under development that will allow Cucumber to invoke step definitions implemented on any platform.
To use the wire protocol, you install Ruby and write and run your features as you normally would, but instead of writing step_definitions files in Ruby or another supported programming language, you write a simple .wire file, which tells Cucumber where to find your step definitions:
host: localhost
port: 98989
When you run your features, Cucumber will then connect to this TCP socket, ask the service at the other end about the the steps it has defined, and subsequently tell the service to invoke then if necessary. It’s perfectly feasible to have a mix of step definitions – some implemented and invoked, in-process, in Ruby, as normal, and some implemented over the wire.
The details of the protocol are documented in the feature here:
http://github.com/mattwynne/cucumber/blob/wire_protocol/features/wire_protocol.feature
Please feel free to suggest enhancements to the protocol, especially while it’s being developed.
Implementations
- Cuke4Nuke (.NET)






