Accelerate your development of PHP applications using the popular CakePHP web application development framework and unit testing. This short book shows you how to carry out test-driven development with fixtures, model tests, controller tests, mocks, and test suites. Learn CakePHP contains all you need to get started with the CakePHP framework to build faster, better PHP-based web applications. You'll learn about unit testing and how to implement it in CakePHP. This approach to coding leads to better code, better applications, and better programming habits. With this knowledge your PHP skills will go from strength to strength allowing you to write more and improved code. What you'll learnWhat is unit testing and CakePHP and how to put the two togetherWhat is clean codingWhat is TDD and the development cycle using this approachHow to work with fixtures, model tests, text callbacks, controller tests, and moreHow to do mocks, test suites, testing from the command line and moreHow to work with code coverage, fixtures data, and private methodsWho this book is forThis book is for experienced PHP programmers and web developers who have little or no experience using CakePHP and/or unit testing.
Author: Rādhārādhya Dāsa