Investigate adding phpunit attribute for skipping test

Created on 4 April 2025, 6 days ago

Problem/Motivation

Mentioned by @mstrelan in 📌 Prevent setup tasks running for tests that are always skipped Active

A better approach might be to introduce an attribute that can be put on the test method. That way it would be reusable, and it would still be obvious when looking at only the method that it should be skipped. Note that phpunit already has some attributes for this, but they are not quite suitable for these cases

Steps to reproduce

NA

Proposed resolution

TBD

Remaining tasks

Investigate if feasible
Implement if yes
Review

User interface changes

NA

Introduced terminology

NA

API changes

New attribute

Data model changes

NA

Release notes snippet

NA

📌 Task
Status

Active

Version

11.0 🔥

Component

phpunit

Created by

🇺🇸United States smustgrave

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

Comments & Activities

Production build 0.71.5 2024