bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info browser test framework (was Improving standalone info usability


From: Karl Berry
Subject: Re: info browser test framework (was Improving standalone info usability)
Date: Mon, 24 Mar 2014 18:10:20 GMT

    screen scraping or reading output of program
    (terminal control sequences)

I was suggesting precisely to avoid any such "interpretation" of info
output by running the tests non-interactively (e.g., input via
--dribble), and compare the output from info dumping nodes to "expected"
output, as usual.  Maybe one of the -escapes options is enough to avoid
terminal dependency.

    you have to take care that the test framework is not as complicated
    and error-prone as the program being tested.

100% agreed.

    There can probably be a simple test framework with incomplete coverage
    in some areas, which would still be useful.

100% agreed.  Heck, even if there were only tests for non-interactive
features (--help, --version, --whatis, etc.), that would be a lot better
than the nothing we have now.

Anyway, thanks for all.

karl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]