Bug #57524

Functional tests do not work on Windows

Added by Nicole Cordes about 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Tests
Target version:
-
Start date:
2014-04-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Many of the functional tests do fail on Windows systems. There are several reasons for that:

- wrong PHP binary path
- wrong command line argument encoding

Furthermore on a Windows cli it is hard to fetch failures, error, incomplete and skipped tests as the configuration file enables color usage by default which is not supported on Windows cli. As this option can only be enabled but not disabled, it would be helpful to disable it within the configuration file.

#1

Updated by Nicole Cordes about 7 years ago

A working commandline request with json data has to look like

C:/Unix/PHP-5.5.10/php.exe "D:/Server/typo3-master.local/typo3/sysext/core/Tests/Functional/Framework/Scripts/Request.php" "{"""documentRoot""":"""D:\/Server\/typo3-master.local\/typo3temp\/functional-905438b""","""requestUrl""":"""http:\/\/localhost\/?id=89^&L=0"""}"

On Windows systems escapeshellarg turns quotes into spaces, so this has to be handled as well.

#2

Updated by Gerrit Code Review about 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/29057

#3

Updated by Gerrit Code Review almost 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/29057

#4

Updated by Gerrit Code Review almost 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/29057

#5

Updated by Gerrit Code Review almost 7 years ago

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

#6

Updated by Nicole Cordes almost 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF