[META] Convert Functional tests classes which make no HTTP requests into Kernel tests

Created on 15 January 2024, 10 months ago
Updated 4 February 2024, 10 months ago

Problem/Motivation

Through 📌 Convert RelationshipNodeTermDataTest into a Kernel test Fixed I/we discovered that there are Functional tests that make no HTTP requests but are still a Functional test.

The overhead for a Functional test is way more than for a Kernel test, so converting tests that are eligible will make the overall test time go down.

Steps to reproduce

I've created the below list with eligible candidates by comparing the list with tests and number of passed assertions on top of each of the seven Functional test jobs on Gitlab (Test summary) with the list of *.counter files in /artifacts/sites/simpletest/browser_output of the artifact of the same testjob.

Reasoning here is that when there's a *.counter file for a Functional test, HTML output was logged and thus a HTTP request was made.

Present in the list of tests that ran, but no *.counter file means no HTTP request was made and thus the test might be eligible for converting into a Kernel test.

Proposed resolution

Look at each Functional test in the list and determine if it can be converted in a Kernel test.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
PHPUnit 

Last updated 1 day ago

Created by

🇳🇱Netherlands spokje

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

Comments & Activities

Production build 0.71.5 2024