Federico Cargnelutti

Simple is better than complex. Complex is better than complicated. | @fedecarg

SimpleTest – Unit Test Framework

leave a comment »

What is SimpleTest?

The heart of SimpleTest is a testing framework built around test case classes. These are written as extensions of base test case classes, each extended with methods that actually contain test code. Top level test scripts then invoke the run() methods on every one of these test cases in order. Each test method is written to invoke various assertions that the developer expects to be true such as assertEqual(). If the expectation is correct, then a successful result is dispatched to the observing test reporter, but any failure triggers an alert and a description of the mismatch.

Read more… 

Written by Federico

June 30, 2007 at 10:42 am

Posted in Frameworks, PHP

Leave a Reply