Closed jubianchi closed 8 years ago
Well, there might indeed be some issues with such inceptions in a few cases. Most Prophecy classes can be doubled though (Prophecy is tested with PhpSpec, which uses Prophecy internally)
This goes in line with the PhpSpec way: making it hard to work with badly designed APIs
SCNR
@jubianchi @malkusch mocking core of the mocking framework with the mocking framework itself is a very specific case of design where the negative feedback isn't always illustrative of design issues.
@everzet I'm not judging the design of prophecy which I know is very good.
My need was just to build an atoum ext. and as always, we try to test tools with themselves. I will use another strategy here.
I'm trying to integrate prophecy in an @atoum extension and I'm having problem when writing my unit tests. At some point in need to prophesize prophecy and it does not seem to work :