I am trying to get Cucumber to work on testing a PHP application. For now, I can run this function by simply running cucumberin my function directory. The bottom of the results says:
If you need fragments in another programming language, just make sure that the file with the corresponding file extension exists, where the cucumber is looking for step definitions.
What does it mean? I am fine with writing most step definitions in Ruby, but at some point I will need to create some configuration data (ideally creating them in PHP). How can I write step definitions in PHP, as this statement suggests?
FYI: I am new to Ruby and Cucumber.
Cuke4PHP implements Cucumber's wire protocol, allowing you to write step definitions in PHP.
source
share