Bug #57524
closedFunctional tests do not work on Windows
100%
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.
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.
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
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
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
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
Updated by Nicole Cordes over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 360272956484b790ac779a14ed5abdd317b50980.