Releases: zumba/mongounit
Added support for mongodb client v1.5
Added support for mongodb client v1.4
Merge pull request #14 from nhatthm/feature/bump-mongodb-to-1.4 Support mongodb/mongodb 1.4
Added support for mongodb client v1.3
Merge pull request #13 from zumba/REQ-9766-upgrade-mongodb Supporting Mongo lib 1.3.x
Added support for mongodb client v1.1 - v1.2
Merge pull request #12 from rossaffandy/master Make it working with latest mongodb version
Allow empty collections
Small change to allow empty collections on fixtures without causing errors.
Allow for collection configurations to carry through
Small change to allow for collection configuration to carry through to the unit test collection.
Transitioned to ext-mongodb
This release transitions to work with ext-mongodb and drop support for ext-mongo. As a result, support for php 5.5 has been dropped and php 7 support has been added.
Modernize and dropping support for PHP <= 5.4
See http://php.net/supported-versions.php
PHP 5.4 is end of life in 3 months and is in security patch only mode.
With this release we've dropped support for the extendable TestCase
class in favor of using the TestTrait
. The main reasoning behind this is rarely when using mongodb is that the only datastore you are using, and limiting a test case to extending only a mongo based test case will cause headaches (as it did initially for us).
If you still need support for <= 5.4, please stay on the 1.x version.
PHPUnit 4 support
The Mongo test trait has been updated to make use of PHPUnit 4's new @before
and @after
tags. This makes it so you do not have to alias setup and teardown methods.
Added 5.4 trait for multiple datasource model testing.
For cases where the unit test can't extend the mongunit test case directly, the TestTrait
can be "used" in place to the same effect.