4 ms·
> Test selection algorithm is not perfect yet (it may produce false-positives and false-negatives) I haven't read the code, but the associated document explain
by mannykannot 11y ago
> Test selection algorithm is not perfect yet (it may produce false-positives and false-negatives)
I haven't read the code, but the associated document explaining the method makes no mention of accounting for line renumbering as a result of changes.
The accuracy with which changes are identified depends on the diff algorithm. I imagine it is more likely to generate false positives than false negatives (which is preferable), but I am sure there are cases where a line is unchanged textually but is different semantically (e.g. by the insertion or removal of an 'else' above it), and the diff program will consider it unchanged.
- wdewind 11y agoIt's not only that, once you know whether or not something has changed you then need to know what tests need to be run.