Christian Brabandt wrote:
> On Do, 21 Jul 2016, Bram Moolenaar wrote:
>
> > Patch 7.4.2088
> > Problem: Keymap test fails with normal features.
> > Solution: Bail out if the keymap feature is not supported.
> > Files: src/testdir/test_digraph.vim
>
> Thanks. Coverage for digraph.c went up to 93%. I would say, this is
> okay, although disappointing, that overall coverage hasn't grown much,
> only to some 65%
Vim has many lines of source code, so that is to be expected.
On coverals you can click on the "not covered" column to sort files by
the largest number of missed lines. Then you know where you can make
most impact.
Although another approach is to stick with one feature and find lines
that are still missed. This may not make much impact on the percentage,
but it's easier to write a test for a feature you were already working
on. E.g., for digraph.c there are some errors that are not encountered.
Writing a test, using assert_fails() to check that the error condition is
detected, is useful.
--
LAUNCELOT: I am, sir. I am a Knight of King Arthur.
FATHER: 'Mm ... very nice castle, Camelot ... very good pig country....
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.