rezouce / codeception-mongodb-cleanstate
Drop MongoDB databases to ensure each test using MongoDB are in a clean environment
1.0.1
2015-10-27 09:31 UTC
Requires
- ext-mongo: 1.*
- codeception/codeception: 2.*
This package is not auto-updated.
Last update: 2024-05-25 16:17:44 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