Test Runner Improvement in PHPUnit 3.3

Sebastian Bergmann » 09 April 2008 » in New Features » 5 Comments

As of changeset 2764, PHPUnit 3.3's command-line test runner accepts a directory as its argument.

Given a directory, the test runner will recursively scan the directory for *Test.php files, build a test suite out of the *Test classes, and run it.

Defined tags for this entry: ,

Trackback specific URI for this entry

5 Comments to "Test Runner Improvement in PHPUnit 3.3"

Display comments as (Linear | Threaded)
  1. Joshua May
    09/04/2008 at 13:20 Permalink
    Is 3.3 at all stable/useable? I'd really like to use this feature! If not, any idea when it will be, roughly?

    Reply

  2. Noplay
    10/04/2008 at 08:29 Permalink
    Great feature !

    Reply

  3. Doug
    13/04/2008 at 17:46 Permalink
    That's great, but limb_unit(http://wiki.limb-project.com/doku.php?id=limb3:en:packages:tests_runner:limb_unit) has had this feature(and some other, like nested fixtures) for ages ;)

    Reply

  4. Matthieu
    11/12/2009 at 17:07 Permalink
    Hi,
    I am currently using PHPUnit and installing it in my company, and I find it amazing. But sometimes I want to launch tests that are in separate directories at the same time (to have one code coverage report for example).

    phpunit only accepts 1 directory as argument, do you have an idea on this "problem" ?
    Thanks

    Reply

  5. Sebastian Bergmann
    11/12/2009 at 17:09 Permalink
    Please open a feature request ticket for this.

    Reply

0 Trackbacks to "Test Runner Improvement in PHPUnit 3.3"

  1. No Trackbacks

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Submitted comments will be subject to moderation before being displayed.