Displaying 1 result from an estimated 1 matches for "test_login_with_invalid_details".
2005 Jul 15
1
How do you do functional tests?
Hi,
I''m just wondering: how do people do their functional tests?
I see two possible versions:
1. You test every controller, and every action, in isolation and with
varying criteria. For example, you might have a
''test_login_with_valid_details'' and a ''test_login_with_invalid_details'';
both test the same action but under different circumstances.
2. You test a much longer sequence of actions, which might be across
multiple controllers, to ensure that you can ''login, create a foobar,
and logout''. These are more like testing a typical user experience....