Monday, February 29, 2016

Re: netrw :Explore setting current buffer to hidden

Justin M. Keyes wrote:
> On Mon, Feb 29, 2016 at 12:31 PM, Charles E Campbell
> <drchip@campbellfamily.biz> wrote:
>> Justin M. Keyes wrote:
>>> netrw is 11,000 (eleven thousand) lines of code without any automated
>>> tests.
>> That, as it turns out, is not the case. I do have automated tests for
>> it. The tests are based on pchk
>> (http://www.drchip.org/astronaut/vim/index.html#PCHK); however, ever
>> since patch#866, there's been a problem with hanging (probalby due to a
>> race condition in vim), so I haven't made the pchk-based test suite for
>> netrw available.
> I mean "automated" in the sense that any Vim regression would be
> immediately caught. How much coverage would you estimate?
>
I currently have 56 test files and am adding more as time goes on, with
over 930 lines in the test files. "Any regression" is overly broad, as
I'm sure that there are cases that I haven't covered. There are four
display types (thin, long, wide, tree). Various patterns may be used to
include/exclude listings. Trees have a lot of differences, as more than
one directory is being shown at a time (unlike thin, long, wide). Users
may have differing settings with "interesting" interactions. I'm going
over old bug reports and making pchk tests from them.

C Campbell

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: