Skip to content
Snippets Groups Projects
Commit 54dac6c2 authored by Wouter Wolters's avatar Wouter Wolters Committed by Benni Mack
Browse files

[TASK] Declare all test classes final

Test classes should never extend each other.
phpunit 10 is also a bit more picky about naming
of abstract test cases.

The patch adds a script to verify all test case
files are declared final, adds it to CI, and
adapts existing tests accordingly.

> Build/Scripts/runTests.sh -s checkTestClassFinal

Change-Id: I07581bffebe42a82fafc56a9bc6cae7c46508b1a
Resolves: #100544
Releases: main
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78460


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 23b58c3f
Branches
Tags
Showing
with 234 additions and 14 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment