I am exploring ways to implement testing on a large dynamic web site. 
We use MySQL, perl and H::T for all dynamic content. I've explored some
tools that check the HTML pages or the http data stream and compare them
to a base set of data.  I've also used Test::More for some basic testing
to make sure data is saved and retrieved properly.  

Now I'm thinking that what I really want to look at is the data being
passed to the template under various conditions.  The templates
themselves need to be tested too but they are rarely the source of
problems.

If I put a statement in my perl code just before the $t->output which
dumps the contents of $t->param, 

map("$_ = ".Dumper($template->param($_))

save that output as a baseline.  Then for testing repeat the process but
now compare the values to the baseline data.

Does anyone have any experience with testing in this way.  Obviously
this is only part of the testing.

Thanks in advance.


-- 
Keith Jackson <[EMAIL PROTECTED]>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to