On 16.12.2020 22:14, Yuriy Skalko wrote:
There were already several discussions here in 2013, 2015 and even in
1999 about using some unit testing framework, but without any tangible
result. I think it is now time to change this :)
There are several widely used frameworks, I've chosen "doctest"
(https://github.com/onqtam/doctest/). It is not the most popular, but is
the fasest and has small size -- it consists of only one file. Also it
is very convenient to use
(https://github.com/onqtam/doctest/blob/master/doc/markdown/tutorial.md).
Now LyX has some simple hand-made unit testing in `tests` directories
that is used to test a few base classes/functions. I've converted some
of these tests to the new framework.
I only updated/added CMake files and these surely will require further
improvements.
So, what is your opinion about this change? Comments are very appreciated.
Yuriy
Ping...
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel