This post originated from an RSS feed registered with PHP Buzz
by Sebastian Bergmann.
Original Post: TestNG-style Grouping of Tests
Feed Title: Sebastian Bergmann on PHP
Feed URL: http://sebastian-bergmann.de/rss.php?category=6&version=2.0
Feed Description: Sebastian Bergmann is a long-time contributor to various PHP projects, including PHP itself. He is currently working for eZ Systems AS on the Workflow Engine component for the eZ Platform. As the developer of PHPUnit, he also helps with testing the eZ Components. In his free time he likes to hack on Open Source software and to take photographs, preferably while travelling the world.
Starting with version 3.2, PHPUnit has support for TestNG -style @group ing of tests: You can select a test group from a test suite using --group with the TextUI test runner: sb@vmware ~ % phpunit --group a TestTest
PHPUnit 3.2.0-dev by Sebastian Bergmann.
..
Time: 0 seconds
OK (2 tests)
sb@vmware ~ % phpunit --group b TestTest
PHPUnit 3.2.0-dev by Sebastian Bergmann.
.
Time: 0 seconds
OK (1 test)