---

developerWorks: Check Your PHP code at Every Level with Unit Tests

[ Thanks to An Anonymous Reader for
this link. ]

“It’s 3 a.m. Do you know if your code is still working?

“Web applications run 24×7, and wondering whether my application
is still running has kept me up at night. Unit testing has helped
me gain significant confidence in my code–and get a good night’s
sleep.

“Unit tests are a framework for writing tests on code and
running those tests automatically. Test-driven development is a
unit test methodology that says that you first write the test and
verify that tests find the errors, then write the code required for
the tests to pass…”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis