To aid the development and progress of the World Wide Web Sample Code Library , we have added tests to the library. Largely aiding the developers into showing which functions are working and when in fixing the library, which functions break. Documentation on this testing is a little sparse and inadequate. Improvements will be made especially concerning documentation. Ultimately, core function testing just amounts to writing lots of glue code and scripting.
Large chunks are pretty repetitive, while others add lots of variance in patterns.
What it amounts to is trying to capture all the possible failures in the glue code, such that the scripting language will not crash while being run in dejagnu. Unfortunately, I haven't been too good at capturing everything, but it suffices to show that the functions work. Xing is now here working on the glue code to solidify the functionality between Tcl and C, so that quick implementations can be done using Tk and such. That will also result in a nice testing interface. Currently, my work has caught typos, small bugs and such, with the largest noticable flaw in the core library being in the parsing.