Re: Class Posing

From: Date: Tue, 02 Oct 2007 20:20:36 +0000
Subject: Re: Class Posing
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-32571@lists.php.net to get a copy of this message
Stubs / Mock Objects !== Unit Tests. Class Posing allows for better stubs / mock objects which in turn are tools to write better unit tests.
OK, I see that. The question is - does any of the known unit test systems use mock objects? Does it do that in the language that doesn't allow "new Foo" to create object of entirely unrelated class? If so - how it is usually done? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#32571) next »