Use C++ testing framework

Kornel Benko kornel at lyx.org
Thu Feb 11 12:53:30 UTC 2021


Am Thu, 11 Feb 2021 13:54:23 +0200
schrieb Yuriy Skalko <yuriy.skalko at gmail.com>:

> > Compiles fine.
> > Test is very fast (no options used)
> > 
> > Is that the expected output?
> > ...............
> > [doctest] doctest version is "2.4.5"
> > [doctest] run with "--help" for options
> > ===============================================================================
> > [doctest] test cases:  14 |  14 passed | 0 failed | 0 skipped
> > [doctest] assertions: 108 | 108 passed | 0 failed |
> > [doctest] Status: SUCCESS!
> > ....................
> > 
> >         Kornel  
> 
> Thanks for a quick try, Kornel.
> 
> Yes, this is an expected output. It is pretty fast now and I hope it 
> will remain fast with more tests. Now most time is spent by LyX startup 
> (loading layouts etc).
> 
> I presume you'll be interested in trying it to test Advanced Search. The 
> src/test/issues/12069.cpp can be used as a sample.
> 

Yes, but later.
(I have my own unit test for this, without the need to compile lyx,
so the new tests will not help me much ATM. But it is good idea for later)

> 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/20210211/18616f6e/attachment.asc>


More information about the lyx-devel mailing list