I think unit tests on everything are always a good idea - the problem
comes if you start making them 'more' than just unit tests.
Ideally you should be able to unit test action classes quickly with mock
objects or stubs for both the business tier below and the MVC controller
tier above.
Stru
Hi
If you are thinking of unit tests for action i do not think it is great
idea.
For me actions should be as dumb as possible and just delegate business
processing to another layer.
2006/5/5, Stasica, Grzegorz <[EMAIL PROTECTED]>:
hi,
Basically I'm interested in testing struts actions (forw
hi,
Basically I'm interested in testing struts actions (forwards, messages
etc). Most of the actions perform some actions on my database which I'd
like to speed up. My idea is to isolate database tests from struts
action test. There is only one way to achieve it which I see at the
moment (mock ob
3 matches
Mail list logo