polevaultweb / google-drive-filesystem
Google Drive extension of the Codeception Filesystem module.
1.2
2020-07-31 13:55 UTC
Requires
- php: >=5.4.0
- codeception/codeception: *
- google/apiclient: ^2.4
This package is auto-updated.
Last update: 2024-11-29 06:41:18 UTC
README
A Google Drive Filesystem module for Codeception.
Installation
To install simply require the package in the composer.json
file like
composer require --dev polevaultweb/google-drive-filesystem
GoogleDriveFilesystem configuration
GoogleDriveFilesystem extends Filesystem
module hence any parameter required and available to that module is required and available in GoogleDriveFilesystem
as well.
In the suite .yml
configuration file add the module among the loaded ones with the authorizationToken
.
modules: enabled: - GoogleDriveFilesystem config: GoogleDriveFilesystem: authorizationToken: xxxxxxxxxxxx
Supports
- doesDriveFileExist
- deleteDriveFile
And assertions
- seeDriveFile
Usage
$I = new AcceptanceTester( $scenario ); $I->seeDriveFile( 'path/to/file.jpg' );