Use C++ testing framework

Scott Kostyshak skostysh at lyx.org
Sun Apr 11 03:49:47 UTC 2021


On Thu, Feb 11, 2021 at 11:35:10AM +0200, Yuriy Skalko wrote:
> > I'm all for focusing on 2.4.0 release. So I'll not push yet my commits into newly created branch features/unit-test-adoption.
> 
> 
> After some time-out I've pushed my work on unit testing into
> unit-test-adoption branch in features repository. So if you have some free
> time and are interested, please try it.
> 
> Here are some notes:
> 
> * Now it supports CMake only
> * I've added a short section documenting this in Development manual
> * There are several changes that makes testing easier/possible:
>     - (Inset...) made several virtual methods public (as in base class
> Inset) that wrongly were private in several derived classes
>     - (lyxfind) made public findOne function to get rid of messagebox
> displaying
>     - (ExternalTransforms) throw an exception instead of direct output to
> lyxerr stream to get clean console output when running tests

Would it make sense to just merge this to master to reduce the diff
between 2.4.x and later master? No problem if that would not be a good
idea.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210410/77e1caf7/attachment.asc>


More information about the lyx-devel mailing list