Use C++ testing framework

Yuriy Skalko yuriy.skalko at gmail.com
Thu Feb 11 11:54:23 UTC 2021


> 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.


Yuriy


More information about the lyx-devel mailing list