The Web Centric Approach
This approach can be implemented in different modes corresponding to the complexity of
the tackled application problem:
- simple static HTML-pages
- HTML-pages combined with simple JSP and Servlets
- JSP with Modular Components
Altough these design variants facilitate an economic implementation for webapplications
based on their complexity they can cause enormous extra costs when it comes to test.
Rule 1
The level of abstraction in the specifications of tests heavily depends on the level
of abstraction in the system design.
Another aspect is the support the choosen application design will deliver to the
testing process. J2EE-components are often shielded against monitoring and querying by
testers., e.g. there is no easy way to query a servlet during its service of a clients
request.
Rule 2
If you develop in a container then let the tests in. |