Mock test

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

Mock test

Post by kpraman »

Can anyone tell me how to do mock test using PHPUnit?
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

Post by dbevfat »

I think the SimpleTest homepage is a good start. Also see partial mocks, they are useful from time to time.

http://www.lastcraft.com/mock_objects_documentation.php
Post Reply