What does the CakePHP test suite do? What is his purpose?

Why should I use a test suite? I have never used the SimpleTest Unit Test or any tests. Should writing a test not take much time?

I do not understand the purpose of this. Please explain the benefits.

Thank.

+3
source share
1 answer

Written tests for your code allow you to automate the testing process, so any future changes or additions that cause errors can be easily matched. It also usually means that you conceived and planned your code before you get started.

Read http://en.wikipedia.org/wiki/Unit_testing

+2
source

Source: https://habr.com/ru/post/1764338/


All Articles