Using Phake_Client_PHPUnit

27 views
Skip to first unread message

Isidro Merayo

unread,
Jan 24, 2012, 6:38:20 AM1/24/12
to Phake-Users
Hi,
I don't know how to use to count assertions with Phake.

I search in the code, and I see "Phake/Client/PHPUnit.php"

/**
* The client adapter used for PHPUnit.
*
* This adapter allows PHPUnit to report failed verify() calls as test
failures instead of errors. It also counts
* verify() calls as assertions.
*/

How to use?
Thanks

Isidro

Excuse me, my poor english.

Isidro Merayo

unread,
Jan 24, 2012, 3:30:43 PM1/24/12
to Phake-Users
The solution...

Phake::setClient(Phake::CLIENT_PHPUNIT);

Excuse me :)
Reply all
Reply to author
Forward
0 new messages