Navigation Menu

Skip to content

polevaultweb/dropbox-filesystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dropbox-filesystem

A Dropbox Filesystem module for Codeception.

Installation

To install simply require the package in the composer.json file like

composer require --dev polevaultweb/dropbox-filesystem

DropboxFilesystem configuration

DropboxFilesystem extends Filesystem module hence any parameter required and available to that module is required and available in DropboxFilesystem as well.

In the suite .yml configuration file add the module among the loaded ones with the authorizationToken.

The first thing you need to do is get an authorization token at Dropbox. Unlike other companies Dropbox has made this very easy. You can just generate a token in the App Console for any Dropbox API app. You'll find more info at the Dropbox Developer Blog.

  modules:
      enabled:
          - DropboxFilesystem
      config:
          DropboxFilesystem:
              authorizationToken: xxxxxxxxxxxx

Supports

  • doesDropboxFileExist
  • deleteDropboxFile

And assertions

  • seeDropboxFile

Usage

$I = new AcceptanceTester( $scenario );

$I->seeDropboxFile( 'path/to/file.jpg' );

About

Dropbox extension of the Codeception Filesystem module

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages