2009/9/1 Roshni Basu <[email protected]>:
> I tried the same approach of testing a class which extends PutAttribute
> class. But this is not working.
> Whether tiles tag renders html code?

Tiles tags to not render HTML code directly. They, instead, load,
prepare and display code coming from other sources (JSPs, string
attributes, etc.).
I must admit that in Tiles <= 2.1.x there is no a serious unit testing
for JSP tags, but with Tiles 2.2.x there are *real* unit tests, using
EasyMock to mock the requests and the responses, in the
"tiles-template" module, that is a base "template tags" module for
JSP, FreeMarker and Velocity and contains all of the common code.

Antonio

Reply via email to