From Test::Simple to Test::Extreme - Testing Legacy Systems 33

How to Test Web Pages

  • if you have an application in which all paths can be followed without launching missiles, you can write tests for it

  • this is because of the client-server nature of the web, and the fact that the messages are text (HTTP/HTML)

  • often the only strategy for dealing with legacy apps

  • automated web testing important:

    • lots of things can go wrong: server config, links, scripts

    • consider web testing even if you have a good unit test

    • manual testing is *SLOW* - we avoid thorough manual tests

 

YAPC::CA << Previous | Index | Next >>
Copyright © 2003 Michael Graham