Drupal is a registered trademark of Dries Buytaert
cms 2.1.0 Update released for Drupal core (2.1.0)! menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). moderated_content_bulk_publish 2.0.51 Minor update available for module moderated_content_bulk_publish (2.0.51). moderated_content_bulk_publish 2.0.50 Minor update available for module moderated_content_bulk_publish (2.0.50). editoria11y 2.2.21 Minor update available for module editoria11y (2.2.21). eca 3.1.0 Minor update available for module eca (3.1.0). sophron 3.1.1 Minor update available for module sophron (3.1.1). ai 1.3.1 Minor update available for module ai (1.3.1). seven 2.0.0-beta6 New beta version released for theme seven (2.0.0-beta6). seven 1.0.1-beta1 First beta version released for theme seven (1.0.1-beta1). turnstile 1.1.26 Minor update available for module turnstile (1.1.26). email_tfa 2.0.8 Minor update available for module email_tfa (2.0.8). paragraphs_entity_embed 4.0.0 Major update available for module paragraphs_entity_embed (4.0.0). bootstrap_italia 2.17.4 Minor update available for theme bootstrap_italia (2.17.4). bootstrap_italia 2.17.6 Minor update available for theme bootstrap_italia (2.17.6). bootstrap_italia 2.17.3 Minor update available for theme bootstrap_italia (2.17.3). solo 1.0.33 Minor update available for theme solo (1.0.33). solo 1.0.32 Minor update available for theme solo (1.0.32). modal_page 5.1.10 Minor update available for module modal_page (5.1.10). sitewide_alert 3.1.1 Minor update available for module sitewide_alert (3.1.1).

testmode

No security coverage
View on drupal.org

Alter existing site content and other configurations when running tests.

This is a module to support testing, so it is not expected to be used in
production (although, it adheres to Drupal coding standards and has good test
coverage).

Development of this module takes place on GitHub: https://github.com/AlexSkrypnyk/testmode

Use case

Running a Behat test on the site with existing content may result in
false positives because of the live content being mixed with test content.

Example: a list of 3 featured articles. When the test creates 3 articles and make
them featured, there may be existing featured articles that will confuse tests
resulting in false positive failure.

How it works

1. When writing Behat tests, all test content items (nodes,
terms, users) follow specific pattern. For example, node titles start with
[TEST] .
2. A machine name of a view, which needs to be tested, is added to
Testmate configuration form.
3. Behat test tagged with @testmode will put
the site in test mode that will filter-out all items in the view that do not
fit the pattern, leaving only content items created by the test.

Activity

Total releases
1
First release
Apr 2026
Latest release
13 hours ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
2.6.1 Stable Apr 1, 2026