Re: Unit testing web apps

From: Malcolm Edgar (malcolm.edga..mail.com)
Date: Tue Jun 12 2007 - 21:47:08 EDT

  • Next message: Peter Schröder: "AW: Unit testing web apps"

    I think writing unit tests for DAO/Service classes is OK, but going up
    to the UI tier is not worth the effort. This is due to the amount of
    change you see in UI's and the effort it takes to write and maintain
    these tests.

    regards Malcolm Edgar

    On 6/13/07, Fredrik Liden <flide..ranslate.com> wrote:
    > Do you have any recommendations/guide lines for testing a Cayenne web
    > application. Do I need a combination of cactus for the web pages and
    > jUnit for the service layer and data objects? Would I be able to access
    > the cayenne data context from within the setup and tear down functions.
    > Or should I consider this testing as a completely separate application
    > from the current web app since the test is not running as a servlet and
    > can't get the context from there? How do you guys test your apps?
    >
    > Thanks!
    > Fredrik
    >



    This archive was generated by hypermail 2.0.0 : Tue Jun 12 2007 - 21:47:33 EDT