Bo Peng wrote:
Sure it can, one time I had a command sequence that launched LyX, opened
the UserGuide, scrolled it to the end, and exit LyX at the end. You can
put any LFUN in this command-sequence.

and check if lyx crashes,
Surely a test program can be made to notice that LyX crashes. Or
at least notice that the expected output file(s) did not appear.
and if the pasted text is what you cut? I
Easy.  Have the test system paste that into a new document
and save it - then use diff to check that you got the expected
test document. (An 'expected document' is created when the
test itself is created.)

If there are any differences at all, the test program raises the alarm,
and the developer checks if there is a bug or just the effects
of a format change.  In the latter case, create a new
'expected document' to shut up the test system.

Helge Hafting

Reply via email to