On Nov 29, 2:30 am, Abhimanyu Grover <gigapromot...@gmail.com> wrote:
> Hey there!
>
> Did you find solution to this problem yet?
>
> On Oct 22, 5:47 pm, Defranco <ericofra...@gmail.com> wrote:
>
> > Hi,
>
> > Regardingcontrollertesting using Test Suite on 1.2.RC3:
>
> > How do I test resulting data after I run testAction and
> >fixturize=true? The problem is that all all tables are dropped after
> > testAction routine.
>
> > For example if I run a simple testAction:
>
> > $this->testAction( "/mycontroller/index",
> > array( 'fixturize' => true));
>
> >fixturize=true will make it to create all tables before running
> > index(), but it willdropall tables after testAction... how do I test
> > resulting data if the tables are all dropped?
>
> > Is possible to make testAction tofixturizedata but do notdropit so
> > I can test resulting data saved on tables?
>
> > kind regards
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
Friday, November 28, 2008
Re: controller fixturize drops table in end, how to test data?
Anyone??
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment