rezouce / codeception-mongodb-cleanstate
Drop MongoDB databases to ensure each test using MongoDB are in a clean environment
Installs: 342
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rezouce/codeception-mongodb-cleanstate
Requires
- ext-mongo: 1.*
- codeception/codeception: 2.*
This package is not auto-updated.
Last update: 2025-09-27 22:59:50 UTC
README
It's a Codeception module to ensure the MongoDB databases are dropped before each test to ensure a clean state.
How to?
To add it to your project run composer require rezouce/codeception-mongodb-cleanstate
You can then add MongoDbCleanState to your Codeception configuration file in the modules enabled section:
modules: enabled: - MongoDbCleanState
License
This library is open-sourced software licensed under the MIT license