zumbrunn.com

Javascript Diagnosis & Testing

Some interesting additions that were made to the AjaxPatterns page:

Diagnosis

  • Logging Instrument your Javascript with log messages.
  • Debugging Diagnose problems with a Javascript debugger.
  • DOM Inspection Use a DOM Inspection Tool to explore the dynamic DOM state.
  • Traffic Sniffing Diagnose problems by sniffing Web Remoting traffic.

Testing

  • Simulation Service Develop the browser application against "fake" web services that simulate the actual services used in production.
  • Browser-Side Test Create automated tests of browser-side Javascript components.
  • Service Test Build up automated tests of web services, using HTTP clients to interact with the server as the browser normally would.
  • System Test Build automated tests to simulate user behaviour and verify the results.

10.11.2005, 16:25