Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Test Kit

No security coverage
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.

Activity

Total releases
1
First release
Feb 2026
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Feb 13, 2026