© Sándor Gömöri 2016

Rādhārādhya Dāsa, Learn CakePHP, 10.1007/978-1-4842-1212-7_13

13. Testing from Command Line

Rādhārādhya Dāsa

(1)Somogyvamos, Hungary

A337704_2_En_13_Figa_HTML.jpg

You need the right tools to do good work

Running tests can be time-consuming, but this doesn’t require any user interaction. For that reason, tests are ideal targets for automation. CakePHP has a built-in test shell that we’ve already used in the previous chapters. As was mentioned earlier, testing in the browser is boring, time-consuming, and not the best option. With unit tests, you can develop without touching the browser. This one thing can significantly shorten development time.

Debug Messages ...

Get Learn CakePHP: With Unit Testing, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.