CakePHP Test Suite

2008-12-26 Thread sbogutzky
I have some problems with the TestSuite. Controller functions: function admin_view($id = null) { if (!$id) { $this-Session-setFlash(__('Invalid Article.', true)); $this-redirect(array('action'='index')); }

cakephp test suite 1.1

2008-02-17 Thread Jay
Hello, Can any body provide me cakephp 1.1 with integrated test suite 1.1. Your help will highly appreciated. Thank you. Regards, Jahangir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: cakephp test suite 1.1

2008-02-17 Thread Sam DeVore
Look in http://cakeforge.org === Http://blog.samdevore.com On Feb 17, 2008, at 8:28 AM, Jay [EMAIL PROTECTED] wrote: Hello, Can any body provide me cakephp 1.1 with integrated test suite 1.1. Your help will highly appreciated. Thank you. Regards, Jahangir

Re: cakephp test suite 1.1

2008-02-17 Thread Samuel DeVore
there is no integrated test suite for cakephp 1.1 there in only the test suite that you can use with it (you also need the php SimpleTest (search google for it if it is not linked in the source for cake test suite) integrated testing was not added to cake until 1.2 Sam D On Feb 17, 2008 1:21

Re: cakephp test suite 1.1

2008-02-17 Thread Jay
Dear Sam, I need integrated test suite 1.0 with cake 1.1. not just test suite. On Feb 17, 8:55 pm, Sam DeVore [EMAIL PROTECTED] wrote: Look inhttp://cakeforge.org === Http://blog.samdevore.com On Feb 17, 2008, at 8:28 AM, Jay [EMAIL PROTECTED] wrote: Hello, Can any body provide me

Re: cakephp test suite 1.1

2008-02-17 Thread Jay
I know that there is no integrated test suite for cake 1.1, but I am requesting that if any body has integrate it locally for his/her self for testing purpose, then s/he can help me in this regards. As I previously send a link to you, in which a user has integrate it with cake, i.e.

Re: CakePHP test suite

2007-07-02 Thread francky06l
This value should be set in the index.php of your webroot. You have to adjust it to the path of the cake core libs, it should be already there in the defaut app, unless you commented it? On Jul 2, 9:14 am, chanh.ong [EMAIL PROTECTED] wrote: I download CakePHP test suite and trying to use

Re: CakePHP test suite

2007-07-02 Thread chanh.ong
core libs, it should be already there in the defaut app, unless you commented it? On Jul 2, 9:14 am, chanh.ong [EMAIL PROTECTED] wrote: I download CakePHP test suite and trying to use it but getting some error and not sure whether I am not setting that correctly or this test suite

CakePHP Test Suite

2007-03-08 Thread Roger
Hi, I'm new to CakePHP and would like to use Larry Masters's test suite to implement unit and regression testing in my project. I haven't found any documentation so maybe somebody on this list can give me some hints. What I have: - PHP5 - CakePHP 1.1.13.4450 - CakePHP Test Suite V. 1.0.0.0 I

Re: CakePHP Test Suite

2007-03-08 Thread Sonic Baker
Hi Roger, On 3/8/07, Roger [EMAIL PROTECTED] wrote: (URL /tests/groups was not found on this server). It's best to use the test suite from outside the framework. This can be done as follows by avoiding the 'TestsController' by calling the URL as follows: URL /test/groups ---(leave out the

Re: CakePHP Test Suite -- 'Inflector' not found

2006-09-29 Thread Sonic Baker
On 9/29/06, Brian Wisti [EMAIL PROTECTED] wrote: Now that everything is basically working as advertised, it looks likeI'm going to experiment with the ModelUnitTestCase class athttp://cakephp.org/pastes/show/99b95734fbb3b5a90d9b20adbc381aa9 tostreamline the test database interaction. Hi Brian,

Re: CakePHP Test Suite -- 'Inflector' not found

2006-09-28 Thread Brian Wisti
On 9/28/06, Sonic Baker [EMAIL PROTECTED] wrote: Hi Brian, maybe this will be of hekp to you: http://groups.google.ie/group/cake-php/browse_thread/thread/8815708bcb1c8b/c054815ad5d09804?lnk=gstq=test+suiternum=1#c054815ad5d09804 Cheers, Sonic It was helpful, but not in the way I

Re: CakePHP Test Suite -- 'Inflector' not found

2006-09-28 Thread Brian Wisti
On 9/28/06, Sonic Baker [EMAIL PROTECTED] wrote: Hi Brian, maybe this will be of hekp to you: http://groups.google.ie/group/cake-php/browse_thread/thread/8815708bcb1c8b/c054815ad5d09804?lnk=gstq=test+suiternum=1#c054815ad5d09804 Cheers, Sonic It was helpful, but not in the way I

Re: CakePHP Test Suite -- 'Inflector' not found

2006-09-27 Thread Brian Wisti
A little update. I removed my CORE_PATH entry with no apparent ill effects. I'm not sure why I thought I needed that. The Class not found issues were resolved by calling use() in my test case setUp() method. I needed both Inflector and Configure, so the call ended up being: uses(Inflector,