BDD tests

Feature testing with Behat for Drupal.org.

Overview

Feature testing for Drupal.org with BDD tests.

Writing BDD tests

This page is limited in scope to decisions and conventions that affect writing BDD tests for Drupal.org specifically.

Feature/Scenario Review Checklist

When writing and reviewing .feature files, here are the quality indicators to be on the lookout for.

Step definition checklist

A checklist for custom step definitions in Drupal.org BDD tests.

Tagging scenarios

Existing tags in the Drupal.org BDD test sets, and how to introduce new ones.

Maintaining a set of BDD tests

Drupal.org BDD test sets and how to maintain them.

Running tests: some shortcuts

The doobie project has been structured to take advantage of running tests.

Submitting new tests

Workflow for submitting new features and step definitions to the Drupal.org BDD project

Installation FAQs

Frequently Asked Questions about BDD installation for Drupal.org.

Guide maintainers

drumm's picture
Mixologic's picture