Hi,

I've been reading a lot about test cases but cannot find a how-to
approach in testing plugins controllers.

Read the tutorial in 
http://book.cakephp.org/view/160/testing#testing-plugins-485
but that was only for models.

I created the ffg to test my pizza_controller.php. I named it
pizza_controller.test.php

class PizzaControllerTest extends CakeTestCase {
   function startCase() {
     echo '<h1>Starting Test Case</h1>';
   }
   function endCase() {
     echo '<h1>Ending Test Case</h1>';
   }
   function startTest($method) {
     echo '<h3>Starting method ' . $method . '</h3>';
   }
   function endTest($method) {
     echo '<hr />';
   }
   function testIndex() {
     $result = $this->testAction('/shopping_cart/index');
     debug($result);
   }
}

Nothing is displayed in the test.php page. What am I missing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to