[tclwebtest] Prototyping a new tclwebtest command: validate
Status: Abandoned
Brought to you by:
tils
From: Grzegorz A. H. <gr...@ef...> - 2003-03-05 18:13:53
|
Hi. Til, maybe it would be good to make a new release of tclwebtest. On the meantime, I was thinking about implementing a new command named validate. This command could be run over pages which are visible from the net and would call w3's validate engine over the page. Some examples: set url http://somedomain/some_page validate $url # this would validate css too validate -css $url # this would validate only css validate -onlycss $url # this would follow relative local urls only in depth validate -recursive $url # this would post the code directly validate -upload [response full] # don't log operations unless something goes wrong validate -nolog $url But I don't see very clear if the command should return a code (true/false) or should work like do_request, raising assertions for bad code which can be silenced with -nocomplain. The only drawback of this command would be that shortly user_agent_id would be needed for the validator too ;-) -- Grzegorz Adam Hankiewicz, gr...@ef.... Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) |