[Dancer-users] Testing Forms

djgoku djgoku at gmail.com
Tue Jan 11 23:26:50 CET 2011


I am wondering how I can write tests for forms (WWW::Mechanize
maybe?). I was thinking dancer_response (Dancer::Test) would be what I
want, but being new to testing and Dancer I am not sure how to test
forms.

What I want to test is form creation, form submitting
(failing/success) and redirects after failing/success. Is there
anything else I missed that should also be tested?

Jonathan


More information about the Dancer-users mailing list