[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [#4840] Merge assertion failure in svn_sort__array_insert

From: Julian Foad <julianfoad_at_apache.org>
Date: Thu, 16 Jan 2020 10:42:54 +0000

Daniel Shahaf wrote:
>>> PRNG makes the test code harder to read and to maintain, makes it
>>> more difficult to diagnose FAILs, and increases the risk of a bug

PRNG use makes for reasonably compact and readable test generation, and
totally easy enough to reproduce and diagnose failures, IMO.

On the contrary, if we use static sets of cases or cases generated by
simpler combinations of static sets of partial inputs, then it will be
harder to read and understand whether the coverage is complete enough,
thus increasing the risk of a bug (omission) in the tests.

- Julian
Received on 2020-01-16 11:42:56 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.