WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Documentation/Testing/UnitTesting/Running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ PHPUnit and the testing framework via Composer as a development dependency:
.. code-block:: bash

composer require --dev \
"typo3/testing-framework":"^8.0.9" \
"phpunit/phpunit":"^10.5"
"typo3/testing-framework":"^9.2.1" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"typo3/testing-framework":"^9.2.1" \
"typo3/testing-framework":"^9.3" \

AFAIK 9.3 is necessary for TYPO3 v14.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"phpunit/phpunit":"11.2.5"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why explicitely 11.2.5 and not newer?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The missing "^" is indeed a typo.
I used the lower version like in the v13 branch


Which versions to use depends on the PHP and TYPO3 versions to be supported.

Expand All @@ -27,6 +27,7 @@ The following matrix can help you to choose the correct versions.
================== ================ =================================== ==========
testing-framework TYPO3 PHP PHPUnit
================== ================ =================================== ==========
9.x.x v13, v14 (dev) 8.2, 8.3, (8.4) ^11, ^12
8.x.x v12, v13 (main) 8.1, 8.2, 8.3 (8.4) ^10, ^11
7.x.x v11, v12 7.4, 8.0, 8.1, 8.2, 8.3 (8.4) ^9, ^10
6.x.x v10, v11 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 ^8, ^9
Expand Down