Use C++ testing framework

Kornel Benko kornel at lyx.org
Thu Jan 14 09:15:37 UTC 2021


Am Thu, 14 Jan 2021 10:43:23 +0200
schrieb Yuriy Skalko <yuriy.skalko at gmail.com>:

> > I am reluctant ... have you seen, how many tests (in cmake) there already are?
> > Here it gives
> >         $ ctest -N | wc
> >    7605   22812  504591
> > 
> > OTOH, more tests cannot hurt.
> > 
> >         Kornel  
> 
> Yes, I've seen (and really appreciate) that there are many ctests. As I 
> understand these are export tests that check if output files are correct 
> (is it so?).

Part (although big part) of it, yes. But there are also other tests.
 $ ctest -R key | wc
     46     135    1491
These should test the findadv

There are lyx2lyx- BATCH- check_load- url- check_layout- tex2lyx-tests and some more

> Using testing framework is on a different level of testing, 
> it will allow to test separate functions and classes, and also their 
> interactions.
> 

I see.

> Yuriy

	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/20210114/0feefeae/attachment.asc>


More information about the lyx-devel mailing list