Big number of inverted docbook5 tests

Kornel Benko kornel at lyx.org
Fri Oct 13 08:50:48 UTC 2023


Am Thu, 12 Oct 2023 13:59:17 +0200
schrieb Thibaut Cuvelier <dourouc05 at gmail.com>:

> On Thu, 12 Oct 2023, 11:11 Kornel Benko, <kornel at lyx.org> wrote:
> 
> >
> > Master trunk as of today:
> > I count 406 tests for docbook5. 149 of them are inverted.
> > Thibaut, is there a reason for such a huge ratio?
> 
> 
> There are two major reasons.
> - Many tests are for Beamer: someone would need to write the layouts for
> it, there is little from the other documents that can be used for Beamer.
> - There are modules that are hard to support (they would need a lot of
> custom code only for one module). Basically, that means that LaTeX and
> DocBook are vastly different in terms of concepts and levels of abstraction.
> I think I "documented" the inversion in the commit messages. Overall,
> having all tests pass would require tens of hours of work, which I
> preferred to invest in improving the quantity of the existing
> implementation.

Good reasons. We could also select some of them to be ignored, so they do not show
anymore.
Also, tests which are planed to not fail in the future, deserve entry in suspendedTests
too.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20231013/6e6cdb97/attachment.asc>


More information about the lyx-devel mailing list