Record 100% code coverage.

This commit is contained in:
Eric S. Raymond 2017-07-17 14:28:40 -04:00
parent faedb38a64
commit bbdaa07172
2 changed files with 4 additions and 2 deletions

3
NEWS
View file

@ -1,5 +1,8 @@
= Open Adventure project news =
Repoosoitory head:
Test suite has 100% code coverage.
1.2: 2017-07-11::
Under oldstyle, new-school single-letter command synonyms are ignored.
Switched from linenoise to editline for new-style line input.

View file

@ -116,8 +116,7 @@ ugly and quite unreadable.
Jason Ninneman and I have moved it to what is almost, but not quite,
idiomatic modern C. We refactored the right way, checking correctness
against a comprehensive test suite that we built first and verified
with coverage tools (we have over 98% coverage, with the remaining
confined to exception cases that are very difficult to reach). This is
with coverage tools (there is effectively 100% code coverage). This is
what you are running when you do "make check".
The move to modern C entailed some structural changes. The most