On Wed, Apr 7, 2010 at 12:09 PM, dmitrybelyakov
<[email protected]> wrote:>
> On the contrary - that makes a lot of sense. I was first thining of an
> approach to
> test forms through the corresponding controllers, but i like yours one
> better.
> I think its more logical to do it this way - thanks a lot for the hint!

For the list of inputs you can take advantage of PHPUnit's
@dataProvider annotation. You can also test end-to-end with Zend_Test
to check, for example, that the form sends to the right action with
the right method.

-- 
Giorgio Sironi
Piccolo Principe & Web Engineer
http://giorgiosironi.blogspot.com
http://twitter.com/giorgiosironi

Reply via email to