cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malcolm Edgar" <>
Subject Re: Unit testing web apps
Date Wed, 13 Jun 2007 01:47:08 GMT
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 <> 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

View raw message