[META] Convert some tests into Kernel or Unit tests

Created on 20 March 2019, almost 6 years ago
Updated 24 July 2024, 6 months ago

Problem/Motivation

There are still functional tests that can be converted, entirely or partially into Kernel/Unit tests.

Functional tests (aka Browser tests) install a complete Drupal site, using a virtual browser. This makes them slow to run.

In many cases, the same functionality could be tested in a kernel test. These are much quicker to run.

Quicker tests mean:

- better DX when developers run tests manually
- lower carbon footprint for drupal.org and any other organisations running Drupal's tests
- cheaper running costs for Drupal's CI
- quicker results for developers' merge requests and patches

Proposed resolution

Identify them and convert them:

Discovered so far:

Done:

Won't fix:

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

N/A

๐ŸŒฑ Plan
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component
PHPUnitย  โ†’

Last updated 1 day ago

Created by

๐Ÿ‡ท๐Ÿ‡ดRomania claudiu.cristea Arad ๐Ÿ‡ท๐Ÿ‡ด

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024