Testing PHP Code using Codeception: Troubleshooting common Issues

Last updated:

Error message: Path for logs is not writable

If, upon trying to run your tests for the first time (using codecept run) you get this message:

Path for logs is not writable. Please, set appropriate access mode for log path.

You'll need to create a directory called _log at the same level where your _data/, _bootstrap.php and _helpers/ directories/files are located.

Dialogue & Discussion