codeception/module-doctrine2
Codeception module for Doctrine2 that gives tests direct access to the EntityManager and DBAL connection, automatic database cleanup between tests, transaction rollbacks, and handy assertions for entities and queries.
Codeception Doctrine2 integrates Doctrine 2 ORM/DBAL with Codeception, giving tests access to the configured EntityManager and convenient helpers for working with persisted entities. It fits into Codeception suites and supports database isolation between tests.
seeInRepository and grabEntityFromRepositoryflushEntityManager, clearEntityManager)How can I help you explore Laravel packages today?