News Feed
Jobs Feed
Sections




News Archive
Michael Nitschinger's Blog:
Understanding the Lithium Router - Part 2
February 25, 2011 @ 08:40:41

In his latest post Michael Nitschinger extends his first look at the Lithium framework's routing system with part two of his series - creating some unit and integration tests to help you understand how the various parts work.

Routes play an essential role in your request/response-cycle and therefore should also be tested like any other component that you develop. As the Lithium routing infrastructure also consists of classes and methods, we can run unit and integration tests against them.

Some of the tests include checking for basic request to controller mapping, testing with an ID in the request, using the export() method and testing various routing to ensure that the output is correct (the integration tests).

0 comments voice your opinion now!
lithium router framework introduction unittest integrationtest


blog comments powered by Disqus

Similar Posts

Jonathan Snook's Blog: CakePHP Debug Styles

Zend Developer Zone: AJAX Chat Tutorial

ServerGrove Blog: Why Symfony2 already rocks

PHP in Action Blog: Testing a Zend Framework action controller with View Helpers

Lior Messinger's Blog: 5 Frameworks Every Software Architect Should Consider


Community Events









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


tool example functional framework event language opinion testing api interview podcast community code development introduction object unittest zendframework2 release composer

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