Tuesday, December 20, 2011

Re: Unit tests in CakePHP

One more question.  Can Unit Testing in CakePHP be used to test whether the layout in a browser is displayed correctly?  Has anyone done this?  How much success did you encounter doing this?

On Tue, Dec 20, 2011 at 10:20 AM, Yves S. Garret <yoursurrogategod@gmail.com> wrote:
lol, I actually meant to do that before I forgot :)

It's 1.3.

BTW, what's the difference between unit testing when in 1.3 and 2.0?


On Tue, Dec 20, 2011 at 10:19 AM, euromark <dereuromark@googlemail.com> wrote:
you should tell us what cake version you are using :)

On 20 Dez., 16:13, "Yves S. Garret" <yoursurrogate...@gmail.com>
wrote:
> Hey guys, I'm embarking on writing some unit tests for a simple app.  I
> honestly don't know what I'm doing, but am looking at the following
> resources as a start:
>
> http://bakery.cakephp.org/articles/mariano/2007/04/13/testing-models-...http://book.cakephp.org/view/1200/Testing-overview-Unit-testing-vs-We...http://debuggable.com/posts/unit-testing-in-cakephp-part-1---introduc...
>
> I'd like some input on whether these sources are a good start or if you
> have something better out there (if you do, let me know).  Some good
> information on rules of thumb to keep in mind while writing unit-tests or
> any habits that I should try to get into, I'd really appreciate.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: