Search found 2 matches

by nbenes
Tue Nov 27, 2007 11:12 am
Forum: Testing
Topic: Mock Object Framework
Replies: 4
Views: 5195

I'm excited to see a working version of PHPMock, it looks extremely promising...Make sure you support some kind of andReturnReference( $object ) method in there, like SimpleTest does >.>
by nbenes
Tue Nov 27, 2007 10:52 am
Forum: Testing
Topic: PHPUnit question concerning mock objects...
Replies: 4
Views: 18804

PHPUnit question concerning mock objects...

I've found that the PHPUnit documentation doesn't cover as much as it probably should, and it leaves a few things out entirely, making assumptions that you know what it's talking about. One such instance is when it's discussing mock objects (I know, PHPUnit's mock object support isn't as good as Sim...