Task #55206
closedUpdateExtensionListTaskTest should be a functional test
0%
Description
The UpdateExtensionListTaskTest in the extension manager package depends on extension scheduler being installed.
To have the chance to always execute these tests, the current unit test should rather be a functional test then.
Updated by Anja Leichsenring almost 10 years ago
- Sprint Focus set to On Location Sprint
Updated by Anja Leichsenring over 9 years ago
- Sprint Focus changed from On Location Sprint to Remote Sprint
Updated by Susanne Moog about 7 years ago
- Status changed from New to Accepted
- Target version set to 9 LTS
Updated by Susanne Moog about 6 years ago
- Target version changed from 9 LTS to Candidate for patchlevel
Updated by Susanne Moog over 4 years ago
- Status changed from Accepted to Needs Feedback
This is currently true for all task tests in all extensions we have (all unit tests btw.).
In earlier versions we had this https://review.typo3.org/c/Packages/TYPO3.CMS/+/26954/4/typo3/sysext/extensionmanager/Tests/Unit/Task/UpdateExtensionListTaskTest.php
However, I don't really think it's necessary as the underlying problem is nowadays slightly different: in earlier versions the class loader threw a fatal error if the extension was not loaded, in current versions, it seems to be enough that the code is there and autoloaded (independent of the state of the extension itself) - meaning the core tests run in every core development setup as the code is always available. In packaged versions it isn't - but then, the tests are not available either.
I'd propose to close this issue for that reason.
Updated by Benni Mack over 4 years ago
- Status changed from Needs Feedback to Closed