×

There are plenty of books that show the aspiring PHP programmer how to use testing tools. But how do you actually build your application in such a way that using the testing tools is easy instead of a constant struggle?

The guide is aimed at helping intermediate level programmers build applications that should be easier to test and hopefully to maintain. If you're a beginning PHP programmer (or beginning programmer for that matter) this guide might be hard to follow. Remember, by buying a Leanpub book you will automatically get notified of any updates if I should happen to add new material or make corrections.

My goal is to show you that it really isn't a lot of extra work to create an application that consists of small modules of code that know how to speak to each other in order to solve larger problems. You'll learn why automated testing can be an essential tool and how your choice of components for your application makes all the difference in your pursuit of releasing bug-free code into production.

Let my programming experiences help you become a better programmer and let you fix problems faster and add new features to your application with confidence.

The guide is broken down into the following sections:

  1. Testing Is Good, Testable Applications Are Better
  2. Building Testable Applications Is Hard
  3. Environmental Consistency
  4. Static Code Analysis
  5. Decoupling Your Objects Using Dependency Injection
  6. Like An Onion, Your Application Has Layers
  7. Shells and Sandboxes
  8. Rebuilding Your Programming and Deployment Environments
  9. Continuous Integration Landscape for PHP Developers
  10. Infrastructure Debt
  11. Fear is the mind-killer
  12. Where Are The Tests
  13. Metatesting: Understanding Mock Objects
  14. Advice From A Grumpy Programmer

60+ pages of pragmatic but opinionated advice about how to build and test your PHP applications.

If you run a PHP user's group please contact me via email at chartjes@littlehart.net and I will provide you with a free copy to give away at your next meeting.

For more details about the book please visit http://grumpy-testing.com

  1. Copyright
  2. Thanks
  3. Testing is Good, Testable Applications are Better
  4. Building Testable Applications is Hard
  5. Environmental Consistency
  6. Static Code Analysis
  7. Decoupling Your Objects Using Dependency Injection
  8. Like An Onion, Your Application Has Layers
  9. Shells and Sandboxes
  10. Rebuilding Your Programming and Deployment Environments
  11. Continuous Integration Landscape for PHP Developers
  12. Infrastructure Debt
  13. Fear is the mind-killer
  14. Where Are The Tests?
  15. Metatesting: Understanding Mock Objects
  16. Advice From a Grumpy Programmer
Leanpub book comments powered by Disqus