Behat Generate
Component type
Maintenance status
Development status
Component created
Component changed
Provides a Drush command for generating Behat tests for Node add forms to test that expected fields still exist and validation works. The use case is that you have a site without tests and would like to generate tests for existing content types as easily as possible. Then, in the future, any unexpected changes to those fields (bad update hooks, issues with Feature deployments, etc) should cause a failing test.
The Drush command will check for field types and settings to create a relevant line for the field. The currently supported widget types are:


