I know, but it would be nice to have the test files there to use when i decide to install the testsuite.
I dont see how the lack of the testsuite would cause an error in trying to find the inflector object.
Also i added the testsuite by copying the app/* files in the testsuite zip to my app/ directory.
after i did this, bake.php still says that the test suite is not installed. Is there some script or installation i have to do to get the test suite installed? Is there more documentation on the test suite somewhere?

Olivier Percebois-Garve wrote:
I guess you have to install the test suite which is also on sourceforge.
Anyway it is not mandatory to press the "y" key  in order to bake a cake.


Brian French wrote:
  
I am creating a new project and i am using the bake.php script to do this.

I go through the process to create the Model then is asks:
Cake test suite not installed.  Do you want to bake unit test files 
anyway? (y/n)

I select Yes and it gives me the below error:
You can download the Cake test suite from 
http://cakeforge.org/frs/?group_id=62
Fatal error:  Call to a member function on a non-object in 
/path/to/bake.php on line 1341

In bake.php that line is referring to: $filename = 
$inflect->underscore($className.'Controller').'.test.php';

What would be causing bake.php not to create that object?

    
  
    




  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to