MageTest/Mage-Test — pull request #14 by ajbonner (2013-08-14 19:32:34+00:00)
Title: Allow events to fire during unit tests

To write tests for functionality that relies on events to get dispatched, the global events area needs to be loaded. For unit tests, only the lightweight Mage::app()->init() gets called, which doesn't load the global events area (this is done in run() though).

This is a simple patch, but could have a fairly serious impact on existing tests that rely on the current behaviour where events are not actually dispatched.