ScaffoldTestResult fixture is discovered as a unit test

Created on 12 August 2024, about 1 year ago

Problem/Motivation

Core test discovery adds ScaffoldTestResult as a unit test, whereas it's actually a text fixture. see https://git.drupalcode.org/project/drupal/-/jobs/2412201/viewer where I mistakenly added @group #slow and got a fatal error.

We should put it outside the tests namespace or harden test discovery so that it's ignored.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Closed: cannot reproduce

Version

11.0 🔥

Component
PHPUnit 

Last updated about 1 month ago

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

  • Issue created by @catch
  • Status changed to Closed: cannot reproduce about 1 year ago
  • 🇬🇧United Kingdom catch

    This is wrong - it only gets picked up by discovery when you add the group, not when you don't, which is not really a problem.

Production build 0.71.5 2024