I recently was contacted by PACKT (a UK based publishing company specializing in focused IT books) to review a new book on Unit Testing in PHP. Here’s my review:
Book Title: PHPUnit Essentials
No of Pages: 314
Publisher: PACKT Publishing
Price: £14.49 (about 4,000NGN)
PHPUnit Essentials takes a simplistic and multi-optioned approach to the subject of unit testing in PHP. The examples are well defined and hit its point without too many unnecessary details.
Explaining legacy code testing in the book not only strengthens the testing skills of the developer starting on a new project, but also brings relief to developers who have to maintain existing codes that were developed without the concept of unit testing in mind.
Besides unit testing, PHPUnit essentials also takes on the subject of database integration and API testing. While I expected more examples on the database integration testing as regards to the choices of database, the chapter on API testing serves as a major reference guide for any real life implementation of testing API integration.
The book also points out the fact that while developers can carry out unit test, many do overlook the process of organizing their test cases, and this can result into complexities in the later stages of the project cycle; as a counter measure, the book presents a suitable and industry-standard way of organizing them.
With his over 13-years experience working with software testing technologies, Zdenek Machek couldn’t have done more justice to the subject matter.