in reply to Using Perl to Test a Web App that uses Javascript

Before you write tests, determine your goals. Your tests must derive from and serve your goals, otherwise they lack purpose.

If your goals include security against potential attacks, you should test for invalid and implausible parameters at the server, regardless of any client-side (JavaScript) constraints you have.

Remember, client side validation may be disabled. Server side validation is always enabled.

  • Comment on Re: Using Perl to Test a Web App that uses Javascript