Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: MCP Sentinel 2.33.0 — Minor update available for module mcp_sentinel (2.33.0). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Testmode

48 sites No security coverage Drupal 10–11
View on drupal.org

This module helps ensure accurate testing by filtering out existing content on your site. It allows you to isolate content created specifically for your tests, preventing interference and false positives. When a test is run with a specific tag, the module activates a filter that only displays test-related content to avoid confusion.

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
12
Tracked since
Mar 2023
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.7.2 Stable 10–11 Aug 17, 2026
2.7.1 Stable 10–11 Jun 13, 2026
2.7.0 Stable 10–11 Apr 11, 2026
2.6.1 Stable 10–11 Apr 1, 2026
2.6.0 Stable 10–11 Nov 27, 2024
2.5.0 Stable 9–11 Jul 1, 2024
2.x-dev Dev 10–11 Jan 15, 2024
2.4.0 Stable 9–10 Jan 15, 2024
2.3.0 Stable Mar 14, 2023
2.2.1 Stable Mar 11, 2023
2.2.x-dev Dev Mar 10, 2023
2.0.x-dev Dev Mar 10, 2023