Great! Got to work and now have a nice method to test weather a
component is printed on the page or not. Like so:
public void assertComponentOnPage(Document page, String id, Class
componentClass){...}
Thank you very much for your help,
Joost
Ulrich Stärk wrote:
Sergey has done something similar using a mixin:
http://wiki.apache.org/tapestry/Tapestry5HowToVisualizeComponentHierarchy
HTH,
Uli
Joost Schouten (ml) schrieb:
For my testing enviroment I am looking for a way to wrap each
component in two comments listing the type of the component and the
full component id. This way I will be able to properly assert that
the markup of each page contains the correct components. Digging in
the api I can't directly find what service would be a good starting
point.
I would highly appreciate a pointer as to what service to use.
Regards,
Joost
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]