codeception/module-filesystem
Codeception Filesystem module provides helpers for working with files and directories in tests. Create, copy, move, delete, and assert files/folders, handle fixtures and temp paths, and verify filesystem state as part of Codeception scenarios.
seeFileInDirectory(), assertFileContents()).file_exists checks), or your project has no file system dependencies in tests.Executives: "This module ensures reliable testing of file-handling features, reducing production bugs and manual QA effort. By leveraging Codeception’s ecosystem, we eliminate custom test code, accelerate release cycles, and maintain high quality with minimal overhead—no additional licensing or maintenance costs."
Engineering: "It integrates seamlessly with existing Codeception tests, providing ready-to-use methods like seeFileInDirectory() and assertFilePermissions() out-of-the-box. MIT-licensed, zero configuration, and reduces boilerplate code for filesystem assertions. Example: test file uploads by verifying created files in storage directories without manual
How can I help you explore Laravel packages today?