jhedstrom / drupalextension
An integration layer between Behat, Mink Extension, and Drupal.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing jhedstrom/drupalextension in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewBehat Drupal Extension The Drupal Extension is an integration layer between Behat, Mink Extension, and Drupal. It provides step definitions for common testing scenarios specific to Drupal sites. Use it for testing your Drupal site. If you're new to the Drupal Extension, we recommend starting with the Full documentation Quick start • Install using Composer: • Create a file called with a minimal configuration. For more information on configuration options, see Full documentation • Initialize Behat in your project: • Find pre-defined steps to work with using: • Optionally, define your own steps in • Start adding your feature files to the directory of your repository. Available steps | Class | Description | | --- | --- | | BatchContext | Extensions to the Mink Extension. | | ConfigContext | Provides pre-built step definitions for interacting with Drupal config. | | DrupalContext | Provides pre-built step definitions for interacting with Drupal. | | DrushContext | Provides step definitions for interacting directly with Drush commands. | | MailContext | Provides pre-built step definitions for interacting with mail. | | MarkupContext | Extensions to the Mink Extension. | | MessageContext | Provides step-definitions for interacting with Drupal messages. | | MinkContext | Extensions to the Mink Extension. | [//]: # (END) Writing tests with AI assistants Copy and paste below into your project's or file. Credits • Originally developed by Jonathan Hedstrom with great help from eliza411 • Maintainers • Alex Skrypnyk • Pieter Frenssen • Ricardo Sanz • All these great contributors Additional resources • Behat Drupal Extension documentation • Behat documentation • Mink documentation • Drupal Behat group Examples and code snippets • Complex node creation, with field collections and entity references • Achievements module support • Drupal form element visibility • Track down PHP notices • Support for sites using basic HTTP authentication Release notes See CHANGELOG. Contributing Features and bug fixes are welcome! See CONTRIBUTING.md for more information.