News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zumba Engineering Blog:
Mongounit Project Open Sourced
February 11, 2013 @ 09:12:21

On the Zumba Engineering blog, Chris Saylor has a post announcing the open sourcing of mongounit, a PHPUnit extension useful for doing database testing directly on MongoDB databases - Mongounit.

One of our more recent projects has given the team exposure to MongoDB. As such, we needed an easy way to test the models that utilize mongo in a similar fashion to how we test models that talk to mysql. Using this framework, it's easy to implement mongo test cases to easily create fixture data in collections, or simply clear collections between test cases.

You can find the latest release of this tool on github and see an example testcase here.

0 comments voice your opinion now!
mongounit opensource phpunit database testing extension


blog comments powered by Disqus

Similar Posts

Maggie Nelson's Blog: php|architect: Database Design for PHP Programmers by Mac Newbold

Zend Developer Zone: YAMMY!: DB to YAML conversion shell for CakePHP migrations

Pierre-Alain Joye's Blog: ext/filter, API frozen (!) and fixes, 0.11.0 is out

Daniel Krook's Blog: Move from MySQL to DB2 via the Cloud

Sebastian Bergmann's Blog: PHPUnit 3.5 Upgrading Woes


Community Events

Don't see your event here?
Let us know!


introduction community example extension podcast application api conference library php7 interview framework voicesoftheelephpant symfony2 laravel release series performance opinion version

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework