Project

General

Profile

Actions

Task #71052

closed

GeneralUtility UnitTests: Decouple filesystem tests from actual filesystem

Added by Morton Jonuschat about 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Tests
Target version:
-
Start date:
2015-10-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Sprint Focus:

Description

Using vfsStream to create a virtual filesystem it's possible to test most of the GeneralUtility filesystem functions and file permission operations in isolation from the actual filesystem.

This helps to make the test less reliant on the capabilities of the actual filesystem and the actual user running the unit tests.

Actions

Also available in: Atom PDF