Skip to content

Releases: zumba/mongounit

Added support for mongodb client v1.5

04 Nov 22:45
541b07d
Compare
Choose a tag to compare
Merge pull request #15 from nhatthm/feature/bump-mongodb-to-1.5

Bump mongodb/mongodb to 1.5

Added support for mongodb client v1.4

23 Aug 21:32
07d1542
Compare
Choose a tag to compare
Merge pull request #14 from nhatthm/feature/bump-mongodb-to-1.4

Support mongodb/mongodb 1.4

Added support for mongodb client v1.3

25 Jul 19:20
d0adae1
Compare
Choose a tag to compare
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

05 Jan 00:45
378499a
Compare
Choose a tag to compare
Merge pull request #12 from rossaffandy/master

Make it working with latest mongodb version

Allow empty collections

17 Feb 04:58
Compare
Choose a tag to compare

Small change to allow empty collections on fixtures without causing errors.

Allow for collection configurations to carry through

16 Feb 15:08
Compare
Choose a tag to compare

Small change to allow for collection configuration to carry through to the unit test collection.

Transitioned to ext-mongodb

15 Feb 20:03
Compare
Choose a tag to compare

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

21 May 17:59
Compare
Choose a tag to compare

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

31 Mar 12:50
Compare
Choose a tag to compare

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.

29 Oct 22:35
Compare
Choose a tag to compare

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.