[limb-announce] Release of TESTS_RUNNER-0.8.3

Pavel Shevaev pacha.shevaev at gmail.com
Sat Jul 7 11:45:40 MSD 2007


Folks, we have released TESTS_RUNNER-0.8.3 Limb3 package which aims to
simplify running your SimpleTest based tests. This package provides
limb_unit utility which is an advanced SimpleTest tests runner.

limb_unit is similar in some ways to phpunit utility, yet more
powerful we believe.

This package is independent from any other Limb3 packages and can be
used on its own.

The main features of limb_unit are:

 * Can run single tests as well as tests under specified directory recursively
 * Hierarchical tests fixtures
 * Conditional tests execution
 * Tests code coverage

limb_unit is shipped with Limb3 TESTS_RUNNER package and can be
installed via PEAR channel. Here's an example of quick installation:

# pear channel-discover pear.limb-project.com
# pear install limb/tests_runner-beta

Some quick usage examples for the impatient:

#running all test cases defined in my_test.php
$ limb_unit my_test.php

#running all test cases contained in *_test.php files
$ limb_unit *_test.php

#running recursively all tests from tests directory
$ limb_unit tests

#running all tests from any directories called tests
$ find -name tests -type d | xargs -i limb_unit "{}"

#run tests and show tests coverage for source code in src directory
$ limb_unit -C src tests

Actually limb_unit can do a lot more than that ;) If you feel
interested here's a more detailed documentation -
http://wiki.limb-project.com/doku.php?id=limb3:en:packages:tests_runner:limb_unit

-- 
Best regards, Pavel


More information about the limb-announce mailing list