Testilence is a unit-testing library for programs written in PHP 5. Although it is similar to other JUnit-inspired unit testing libraries, Testilence is written with an emphasis on what's useful, not what's usual. That said, most clever ways of doing useful things for unit test authors and users have already been discovered. Testilence combines original ideas with the best features found in different unit-testing toolkits into a coherent set.
|Tags||Software Development Libraries php classes Testing|
|Operating Systems||Windows Cygwin POSIX|
Release Notes: Non-fatal PHP errors raised in tests are transformed into exceptions. The documentation has been slightly expanded and made more accurate. This release supports PHP versions 5.1.3 - 5.2.9 inclusive.
Release Notes: Continuing effort to reduce repetitive code in the test suite. Documentation has been expanded. Testilence is now tested and known to work with all versions of PHP since 5.1.3 inclusive.
Release Notes: The command line frontend tence(1) has been replaced by a POSIX shell script; now it works even with hostile include_path. The -i option has been renamed to -I. Identification of failing inherited test methods has been fixed. There are many developer-visible changes. Many tests were cleaned up to reduce code duplication.
Release Notes: This release adds a missing source file.
Release Notes: All tests pass on PHP 5.1.4, 5.1.6, and 5.2.0 on FreeBSD and Linux. Testilence should work as is on Windows, but is untested. Path handling for test files (tence --run $file ...) has been changed to use realpath(). This removes a weak spot. Test files are now loaded with include_once instead of require_once. Tence_TestCase saves cwd before setUp() and restores it after tearDown(). Tence_TestCase enforces default-constructible test cases with a public final nullary constructor and destructor. Exception classes are specializations or just "strong typedefs" of SPL exception classes.