]> git.lyx.org Git - lyx.git/blob - development/autotests/ctests-costs-benefits.txt
ctests-costs-benefits: define false positive
[lyx.git] / development / autotests / ctests-costs-benefits.txt
1 The ctests are not convenient tests. In this file we can attempt to log the
2 benefits and costs to using them so we can periodically evaluate which tests we
3 should keep and which we should get rid of.
4
5 Below are some objective costs:
6
7 - The time it takes to run the ctests.
8 - The email discussion back-and-forth.
9
10 There are also some non-objective costs. The ctests are annoying and not fun to
11 maintain, discuss, and fix. Although it's hard to measure this "annoyance"
12 cost, it should be taken into account when we review.
13
14 Below we can try to keep a log of which bugs are found with which ctests. This
15 way we can see which tests are the most useful. It is difficult to objectively
16 differentiate between minor bugs and important bugs.
17
18 Examples where convergence tests took time and annoyance to figure out that
19 they were actually "false positives" (i.e., no bug that is worth the time or
20 complexity to fix):
21
22 https://www.mail-archive.com/search?l=mid&q=20210125200655.e27xaaoy2belyxhw%40tallinn