As there's not so much information about extensions in the official Behat's documentation, I submit this PR to add a cookbook, which is a rewrite of the post, in the Behat docs tone and removing extra stuff.
It's a cookbook and not a documentation, as it's doesn't explain the whole extension system, but give information on creating a simple extension.
I recently wrote a blog post explaining how to create a Behat extension: How to Create a Behat Extension.
As there's not so much information about extensions in the official Behat's documentation, I submit this PR to add a cookbook, which is a rewrite of the post, in the Behat docs tone and removing extra stuff.
It's a cookbook and not a documentation, as it's doesn't explain the whole extension system, but give information on creating a simple extension.