Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Test Kit

No security coverage Drupal 9–11
View on drupal.org

Testkit is a Drupal utility that allows you to define and run configurable smoke tests from the admin UI. It stores checks as exportable configuration entities and saves the results of each run in the database, providing a history of test outcomes for developers, QA engineers, and site builders.

Smoke Test Kit (testkit)

Smoke Test Kit is a contrib-style Drupal utility for defining configurable smoke checks, running them from the admin UI, and storing run history.

Checks are stored as config entities (exportable) and each run persists result records in the database.

Who benefits

  • Developers and maintainers: quick regression checks after updates/deploys.
  • SDET / QA engineers: repeatable UI-driven smoke validation with history.
  • Site builders: validate key routes, views, and access expectations.
  • Content managers: confirm critical functionality remains available.

Features (MVP)

  • Admin page at Configuration -> Development -> Smoke Test Kit.
  • Smoke Check config entity (testkit_check) with add/edit/delete.
  • Run actions from UI:
    • Run all enabled checks.
    • Run selected checks.
    • Run one check from row operation.
  • Run history page and run details page:
    • .../smoke-test-kit/runs
    • .../smoke-test-kit/runs/{testkit_run}
  • Result persistence with counters, duration, summary, and per-check details/meta.
  • Custom plugin system for smoke checks.
  • Built-in plugins:
    • page_check: internal request by path + status/contains/regex assertions.
    • views_check: executes a View display (missing view/display => SKIP).
    • access_check: entity access checks for create/view/update/delete.
  • Starter checks action (idempotent, no duplicates).

How to run checks from UI

  1. Go to Configuration -> Development -> Smoke Test Kit.
  2. Add checks with Add check (plugin-specific config appears in the form).
  3. Run checks with:
    • Run all enabled
    • Run selected
    • Run operation per row
  4. Review outcomes in Runs tab/history and open run details.

Permissions

All UI pages and actions are gated by:

  • administer smoke test kit

Config export note

Smoke Checks are config entities and can be exported/imported with normal Drupal config workflows (drush cex/cim or UI config sync workflow).

Run history/results are content entities stored in DB and are intentionally not config-synced.

Roadmap (planned, out of MVP)

  • Drush commands.
  • JUnit export.
  • Cron scheduling.
  • Notifications.

Contributing

Contributions and issue reports are welcome.

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
1
Tracked since
Feb 2026
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.0 Stable 9–11 Feb 13, 2026