One more thing: I'd want to download a resource. I added
a resource (this resource is present in the server root
folder and it is a file) and I created a Visitor instance in order to access to
this resource and to collect all the informations about it. Then I need a link in
a page that allows users to dowload this resource. I thought that a Template is
render this link in an Action context and the problem is how to
implement a TemplateBody subclass responsable of rendering this link
to the resource.
Thanks a lot.
Friday, January 28, 2005, 12:17:52 PM, you wrote:
I don't think that it doesn't make it easier to test your
you create a subclass of ActionTests as there are no utility methods in
there that could help you.
However if you really want to test your actions (I neglected these
somehow for most of the action functionality), I would create an
abstract subclass of TestCase where you implemented some utility
methods to make action-testing more convenient.
Hope this helps,