PHPackages                             php-arsenal/symfony-mongo-testing-foundation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. php-arsenal/symfony-mongo-testing-foundation

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

php-arsenal/symfony-mongo-testing-foundation
============================================

Foundation classes for Symfony and MongoDB ODM testing

1.0.2(2y ago)14.3k11MITPHPPHP &gt;=8.0

Since Mar 12Pushed 2y agoCompare

[ Source](https://github.com/php-arsenal/symfony-mongo-testing-foundation)[ Packagist](https://packagist.org/packages/php-arsenal/symfony-mongo-testing-foundation)[ RSS](/packages/php-arsenal-symfony-mongo-testing-foundation/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (5)Versions (36)Used By (1)

php-arsenal/symfony-mongo-testing-foundation
============================================

[](#php-arsenalsymfony-mongo-testing-foundation)

PhpUnit Symfony Unit, Functional, Integration test cases (+MongoDB)

```
composer require --dev php-arsenal/symfony-mongo-testing-foundation

```

[![Release](https://camo.githubusercontent.com/fcb99c06326e886a8278e397699ef00e8341d253ca2dd9bc591b433c126a236f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7068702d617273656e616c2f73796d666f6e792d6d6f6e676f2d74657374696e672d666f756e646174696f6e)](https://github.com/php-arsenal/symfony-mongo-testing-foundation/releases)[![CI](https://camo.githubusercontent.com/1402a2fbe1a5d398fc5f2d00e359b7f10b6e9e90b157edb9ca731b80d0abd899/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7068702d617273656e616c2f73796d666f6e792d6d6f6e676f2d74657374696e672d666f756e646174696f6e2f4349)](https://github.com/php-arsenal/symfony-mongo-testing-foundation/actions/workflows/ci.yml)[![Packagist](https://camo.githubusercontent.com/21cf4768f83fa4a4f28bd06e26adbea10499ba4d74155d534f56281a254a6dac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d617273656e616c2f73796d666f6e792d6d6f6e676f2d74657374696e672d666f756e646174696f6e)](https://packagist.org/packages/php-arsenal/symfony-mongo-testing-foundation)

Setup
-----

[](#setup)

Define `MONGODB_DB` of your test database in `.env.test`

Example `tests/autoload.php`:

```
