tags:

views:

71

answers:

3

Why must I use the test suite? I have never used any SimpleTest Unit Test, or any testsuit. If write a testsuit won't it take a lot of time?

I don't understand the purpose of it. Please explain the benefits.

Thanks.

A: 

This is little bit old but it may help you:

Testing Models with CakePHP 1.2 test suite

Test Suite changes in 1.3

NAVEED
A: 

I read documentation but still dont understand , why must use testsuit to test, is lost many time. If it is for debug, while run website we can see where false then what testsuite do? Can you specify where its benefit.

meotimdihia
+1  A: 

Writing tests for your code allows you to automate the testing process, so any future amends or additions that cause errors can be picked up easily. It also usually means that you've thought about and planned your code before you start.

Have a read http://en.wikipedia.org/wiki/Unit_testing

Nev Stokes