On Thu, Oct 29, 2015 at 10:36:57PM +0100, Georg Baum wrote:
> Unit tests are almost always worth the effort. When I implement one, it does 
> almost always find a bug right away. See also the check_lstrings failure 
> Vincent reported and http://www.lyx.org/trac/ticket/9799. Having these bugs 
> found by users is a much worse alternative.
> 
> The problem we have with unit tests is that we do not have a good 
> infrastructure: It is too much overhead to add one. But once this is 
> improved, it would be really worth it to add lots of unit tests.

Note that Vincent has already done some work on this. See:

https://www.mail-archive.com/search?l=mid&q=CAO7dr0gJu1hz%2Bmg7c1N74DH-bqiEAaY0tkS4wK%2BFUEEMmFBFSw%40mail.gmail.com

or for a quick link:
http://git.lyx.org/?p=developers/vfr/lyx.git;a=shortlog;h=refs/heads/tests

Scott

Reply via email to