Re: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-05-09 Thread ks
Mariano, Am I missing something simple? Can you let me know an example were you were able to use with redirect? Should I do something different in my application. I am keen to use your new framework for our unit tests but right now I am blocked on this. Thanks Krishnan On May 1, 8:26 am, ks <[

Re: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-05-01 Thread ks
Mariano, I have tried writing some tests. This looks great. Thanks. I am running into an issue when my controller actions is doing redirects. For e.g. in my login action, the user is redirected to another page if login is successful. However the cake redirect function has an exit in it ( which i

Re: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-24 Thread ks
Great! Thanks Mariano. I downloaded the code yesterday and see the testAction method which i did not have in the previous version. Thanks for your help, I will give this a try Krishnan On Apr 23, 3:28 pm, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > I haven't had time to write a Bakery artic

RE: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-23 Thread Mariano Iglesias
g the 'data' setting, where you set it to be an associative array consisting of fields => value. Take a look at function testIndexPostFixturized() in above test case to see how we emulate posting form data for a new article submission. -MI ---

Re: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-23 Thread ks
Mariano, Great! Do you know when that will be available in ? We currently need to write unit tests for our controllers and I am debating if we should wait until this is released or use testsuite in the meantime and move to CakeTest once thats available? Thanks Krishnan On Apr 17, 10:37 am, "Ma

Re: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-17 Thread Sonic Baker
On 4/17/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote: > > > Be a little patient and you are about to see some awesome stuff in Cake > test > suite to test controllers. Wicked I'm going to hold you to that now Mariano :) Sonic --~--~-~--~~~---~--~~ You recei

RE: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-17 Thread Mariano Iglesias
knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de ks Enviado el: Martes, 17 de Abril de 2007 01:55 p.m. Para: Cake PHP Asunto: Re: whats the relationship between CakePHP 1.2 test suite N

Re: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-17 Thread ks
ng the > actual testing, but the test suite makes everything work in a cakey > way (loading models, controllers, etc). > > I hope that helps. Somebody please correct me if I'm wrong. > > hydra12 > > On Apr 16, 5:37 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

Re: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-16 Thread hydra12
est suite makes everything work in a cakey way (loading models, controllers, etc). I hope that helps. Somebody please correct me if I'm wrong. hydra12 On Apr 16, 5:37 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > whats the relationship between CakePHP 1.2 test su

whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-16 Thread [EMAIL PROTECTED]
whats the relationship between CakePHP 1.2 test suite N SimpleTest? is test suite new feature of the 1.2 ? and does test suite just use SimpleTest as fundamental? and when you download and put SimpleTest in right place ,it enable the test suite?? and when use bake.php ,it seems like it output