Running Phpunit2

Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")

Moderator: General Moderators

Post Reply
kpraman
Forum Contributor
Posts: 172
Joined: Fri Oct 13, 2006 10:54 am

Running Phpunit2

Post by kpraman »

Hello,

To run phpunit,
$suite = new PHPUnit_TestSuite('MembersTest');
$result = PHPUnit::run($suite);
print $result->toHTML();

How to run phpunit2?


Thanks
Post Reply