Skip to content

[stable32] feat(test-case): allow to use PHPUnit Group attributes to mark tests requiring database#55571

Merged
AndyScherzinger merged 1 commit intostable32from
backport/55358/stable32
Oct 6, 2025
Merged

[stable32] feat(test-case): allow to use PHPUnit Group attributes to mark tests requiring database#55571
AndyScherzinger merged 1 commit intostable32from
backport/55358/stable32

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Oct 6, 2025

Backport of PR #55358

…requiring database

Before that, only the annotation @group('DB') is possible to mark test classes as requiring the database. Now the \PHPUnit\Framework\Attributes\Group attribute can be used as long as PHPUnit 10+ is used.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@backportbot backportbot bot requested a review from a team as a code owner October 6, 2025 13:03
@backportbot backportbot bot requested review from CarlSchwan, come-nc, icewind1991, nfebe, salmart-dev, sorbaugh and tcitworld and removed request for a team October 6, 2025 13:03
@backportbot backportbot bot added 3. to review Waiting for reviews tests Related to tests developer experience labels Oct 6, 2025
@backportbot backportbot bot added this to the Nextcloud 32.0.1 milestone Oct 6, 2025
@AndyScherzinger AndyScherzinger merged commit aa36f1c into stable32 Oct 6, 2025
211 of 213 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/55358/stable32 branch October 6, 2025 20:32
@blizzz blizzz mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews developer experience tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants