|
Hi Sonic, I'm glad you found the code I linked to interesting. It's not really all the great yet either, but it helped me to get a better understanding of how testing could be done within CakePHP. Right now I started working on my own little testsuite which I don't intend to be a competition with the one dhofstet is working on, but rather an object of study for myself. When I'm done with it I'll probably join dhofstet's efforts on developing an 'official' testsuite. But right now I'm still not sure what kind of tests I think are the most useful within CakePHP. Over in railsland they don't do any UnitTesting with Controllers at all, but rather functional testing. Now while that might not be as deep of a test, I'm trying to make the decision if it's just good-enough. Because once you start getting into mocking models & components for every controller, simulating mock responses, you end up doing *tons* of work for your testing. But if you decide to do UnitTesting on the Models/Components you should be able to assume they work, and just see/test how the Controller plays together with them. That approach just seems a lot more agile to me and I'm leaning more torwards it then towards the Mocking/UnitTesting approach for Controllers. What do you think? Best Regards, Felix Geisendörfer aka the_undefined Sonic Baker wrote: Hi guys, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~--- |
- Re: Testing controllers with SimpleTest revisited Felix Geisendörfer
- Re: Testing controllers with SimpleTest revisited Sonic Baker
- Re: Testing controllers with SimpleTest revisited [EMAIL PROTECTED]
- Re: Testing controllers with SimpleTest revis... Sonic Baker
- Re: Testing controllers with SimpleTest revisited Mark Somerville
