Task #55206
closed
UpdateExtensionListTaskTest should be a functional test
Added by Oliver Hader almost 11 years ago.
Updated over 4 years ago.
Sprint Focus:
Remote Sprint
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.
- Sprint Focus set to On Location Sprint
- Sprint Focus changed from On Location Sprint to Remote Sprint
- Target version deleted (
6.2.0)
- Status changed from New to Accepted
- Target version set to 9 LTS
- Target version changed from 9 LTS to Candidate for patchlevel
- 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.
- Status changed from Needs Feedback to Closed
Also available in: Atom
PDF