Including Behat tests in modules, especially Feature modules, and running independently and as part of a site or distribution

Events happening in the community are now at Drupal community events on www.drupal.org.
mlncn's picture

Here's what i'd like to do:

  • Include one or more .feature Behat tests in a contributed module
  • Have automated tests run with just this module and its dependencies installed
  • Optionally include these .feature Behat tests from the module when it is included in my site or installation profile automated tests, this time running with the full site installed

There was a good discussion about contributing behat tests to drupal.org that covered these questions, but the Drupal 8 answer to Behat Runner hasn't seen development since then.

Thoughts for behavior driven development and Drupal 8 in 2018, in particular in the context of separating some tests into modules or Feature modules?

Testing and Quality Assurance

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: