[XML-SIG] "Borrowed" tests
Uche Ogbuji
uche.ogbuji@fourthought.com
Mon, 09 Apr 2001 06:23:24 -0600
> > > One of the problems I have with your "borrowed" test cases is that it
> > > is not always easy to tell PASS from FAIL; they just produce a lot of
> > > output. To be useful for a user, a clear pass/fail indication is
> > > necessary.
> >
> > Hmm. All the 4DOM and 4XSLT tests do indicate pass/fail using the "[OK]" or
> > "[FAILED]" notation we borrowed from Red Hat start-up scripts.
>
> Does that include the files which currently live in /xml/test/dom? I
> run that as 'python test.py', and see no such output. Some of the
> tests end with printing 'foo works', some only write the test name
> (such as
>
> ********** Node **********
> ********** NodeList **********
> ********** NamedNodeMap **********
> ********** NodeIterator **********
> ********** TreeWalker **********
> ********** Attr **********
> ...
>
> The entire test run ends with
>
> ********** HTML HTML_DOM_IMPLEMENTATION **********
> testing source code syntax
>
> <HTML>
> <HEAD>
> <TITLE>The Title</TITLE>
> </HEAD>
> <BODY></BODY>
> </HTML>
> Test Time - 1.782 secs
>
> That probably means 'pass', although I'm not certain whether I would
> recognize a failure.
Odd. I wonder if the checked-in version is out of date.
Jeremy, any ideas?
--
Uche Ogbuji Principal Consultant
uche.ogbuji@fourthought.com +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python