Bug #55221

UnitTests for ext:scheduler fails with "Fatal error" if extension is not loaded

Added by Stefano Kowalke over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Must have
Category:
Tests
Target version:
Start date:
2014-01-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

Solution: Skip the tests if extension is not loaded


Related issues

Related to TYPO3 Core - Bug #57487: Activate all packages in unit testsClosed2014-04-06

Actions
#1

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26991

#2

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26991

#3

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26991

#4

Updated by Oliver Klee over 7 years ago

Stefano, how are the tests run? I think we should change this, not the tests themselves.

#5

Updated by Stefano Kowalke over 7 years ago

These errors only occurs when calling the tests via CLI (TYPO3 6.2):

phpunit -c typo3/sysext/core/Build/UnitTests.xml

This was the simplest solution atm. I just want to get the test running.

#6

Updated by Christian Kuhn over 7 years ago

  • Status changed from Under Review to Rejected

abandoned: as discussed with stefano, this will be fixed with https://review.typo3.org/#/c/29036/

Also available in: Atom PDF