publishpress / codeception-extension-extended-copier
Codeception extension that extends WPBrowser's Copier extension, allowing to create parent directories and copy the same files multiple times.
Installs: 27
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/publishpress/codeception-extension-extended-copier
README
Codeception extension extending WPBrowser's Copier extension to allow for more advanced copying of files and directories.
It adds the following features:
- Copying of files and directories from the same source to different destinations.
- Creates not existent parent directories of the destination if not existing, instead of failing.
Installation
composer require --dev publishpress/codeception-extension-extended-copier
Usage
extensions: enabled: - PublishPress\Codeception\Extension\ExtendedCopier config: PublishPress\Codeception\Extension\ExtendedCopier: files: 0: "directory1:%WP_ROOT_FOLDER%/wp-content/plugins/directory1" 1: "directory2:%WP_ROOT_FOLDER%/wp-content/plugins/directory2" 2: "directory2:%WP_ROOT_FOLDER%/wp-content/plugins/directory3"