Projects / Testilence


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.

Operating Systems

Recent releases

  •  31 Mar 2009 16:55

    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.

    •  14 Feb 2007 00:45

      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.

      •  08 Feb 2007 01:22

        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.

        •  05 Jan 2007 15:30

          Release Notes: This release adds a missing source file.

          •  05 Jan 2007 08:35

            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.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.