Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Dispatcher class; decouples from bootstrapping #1196

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Contributor

freewil commented Mar 18, 2012

This is my attempt to decouple the "dispatching" away from the bootstrapping of the framework in CodeIgniter.php to allow for unit testing of controllers. While I got it so I could test a single controller action, attempting to call the dispatcher a second time in an additional test fails. So I think there still is some work to do to reset the state in some of the global classes.

@freewil freewil Dispatcher class; decouples from bootstrapping
The Dispatcher class is an effort to decouple this task from
bootstrapping of the framework. This allows for unit testing
of application controllers.
5fd2c0d

@freewil freewil closed this Apr 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment