Project

General

Profile

Actions

Task #55206

closed

UpdateExtensionListTaskTest should be a functional test

Added by Oliver Hader almost 11 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Start date:
2014-01-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
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.


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Bug #55192: Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not foundClosedStefano Kowalke2014-01-20

Actions
Actions #1

Updated by Mathias Schreiber almost 10 years ago

still valid

Actions #2

Updated by Anja Leichsenring almost 10 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Anja Leichsenring over 9 years ago

  • Sprint Focus changed from On Location Sprint to Remote Sprint
Actions #4

Updated by Mathias Schreiber about 9 years ago

  • Target version deleted (6.2.0)
Actions #5

Updated by Susanne Moog about 7 years ago

  • Status changed from New to Accepted
  • Target version set to 9 LTS
Actions #6

Updated by Susanne Moog about 6 years ago

  • Target version changed from 9 LTS to Candidate for patchlevel
Actions #7

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.

Actions #8

Updated by Benni Mack over 4 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF