Potentially speed up LinkFieldTest

Created on 31 July 2022, over 2 years ago
Updated 17 February 2023, almost 2 years ago

Problem/Motivation

LinkFieldTest is a functional test with seven test methods, this means seven installs of core.

We could potentially have a single test method calling out to helpers, and just do the one install.

before

Testing Drupal\Tests\link\Functional\LinkFieldTest
........                                                            8 / 8 (100%)

Time: 03:24.940, Memory: 10.00 MB

OK (8 tests, 364 assertions)

after:

Testing Drupal\Tests\link\Functional\LinkFieldTest
..                                                                  2 / 2 (100%)

Time: 01:15.727, Memory: 10.00 MB

OK (2 tests, 322 assertions)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.1 ✨

Component
BaseΒ  β†’

Last updated 2 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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