made testing elegant.

This commit is contained in:
Taylor Otwell
2012-01-27 15:28:46 -06:00
parent ae7faf1e45
commit f706ed75bf
8 changed files with 81 additions and 16 deletions

View File

@@ -46,6 +46,16 @@ IoC::singleton('task: session', function()
return new Tasks\Session\Manager;
});
/**
* The "test" task is responsible for running the unit tests for
* the application, bundles, and the core framework itself.
* It provides a nice wrapper around PHPUnit.
*/
IoC::singleton('task: test', function()
{
return new Tasks\Test\Runner;
});
/**
* The bundle repository is responsible for communicating with
* the Laravel bundle sources to get information regarding any
@@ -58,8 +68,8 @@ IoC::singleton('bundle.repository', function()
/**
* The bundle publisher is responsible for publishing bundle
* assets and tests to their correct directories within the
* application, such as the web accessible directory.
* assets to their correct directories within the install,
* such as the web accessible directory.
*/
IoC::singleton('bundle.publisher', function()
{