Testing PHP Code using Codeception: Troubleshooting common Issues

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:

[Codeception\Exception\Configuration]
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.