On 22 Nov 2005, at 12:58, Kieren Diment wrote:

A possible [radical] idea. Perhaps the Maypole::Manual namespace should have some tests to make sure that the code snippets contained within actually work. I know this has been a problem in the docs from time to time to date.


I suppose the architecture would have to work so that a minimal beerdb is built and served locally (maybe by Maypole::HTTPD), and that the test server is stopped and started for each test. The exact config of the beerdb could be built dynamically at runtime by including test snippets in the application config at the appropriate place.

You'd have to test some things, by parsing html and expecting that (form) output was as expected for example.

Or maybe this is too complicated for now. I'ts really only relevant for heavily example dependent documentation I suppose.

kd





-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel

Reply via email to