Project

General

Profile

Actions

Bug #57524

closed

Functional tests do not work on Windows

Added by Nicole Cordes over 10 years ago. Updated about 6 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.

Actions #1

Updated by Nicole Cordes over 10 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.

Actions #2

Updated by Gerrit Code Review over 10 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

Actions #3

Updated by Gerrit Code Review over 10 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

Actions #4

Updated by Gerrit Code Review over 10 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

Actions #5

Updated by Gerrit Code Review over 10 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

Actions #6

Updated by Nicole Cordes over 10 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF