> Ideally, tests shouldn't rely on other components that could be broken
> because then you don't know why the test failed.

I don't understand what you mean by other components that could be broken.
If tests rely on more than one component, then they can fail for unexpected reasons. Sometimes you can't help but rely on other components but in this case you don't need to.

There are some obvious benefits to testing taglibs in an actual jsp but you will spend much more time debugging if one of the dependent components is causing the failure rather than what you thought you were testing.

Simple tests are better than complicated ones.

David

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to