I'm wondering if you can help with a strategy for keeping test case
classes to a reasonable size...
Using Zend_Test, I am testing each branch of the conditional logic of
each action as well as various facets of the actual output. As a
result, I have controller test cases which are becoming _quite big_.
What I'd like to do is to split each action out to a separate test
file or else perhaps split the conditional logic tests into one file
whilst the view testing stuff lives elsewhere.
My question is how to achieve this given the PHPUnit naming
conventions of IndexControllerTest testing IndexController and so on?
Any advice here would be gratefully received.
TIA,
Carlton
没有评论:
发表评论