Filesystem

Filesystem

Module for testing local filesystem. Fork it to extend the module for FTP, Amazon S3, others.

Status

  • Maintainer: davert
  • Stability: stable
  • Contact: codecept@davert.mail.ua

Module was developed to test Codeception itself.

Actions

amInPath

Enters a directory In local filesystem. Project root directory is used by default

  • param string $path

cleanDir

Erases directory contents

<?php
$I->cleanDir('logs');
?>
  • param string $dirname

copyDir

Copies directory with all contents

<?php
$I->copyDir('vendor','old_vendor');
?>