Margin Guy wrote:
> Hi, fellow vi-lovers! > I maintain another vi clone, xvi, and have developed an automated > test suite for POSIX compliance. Unlike the official POSIX test suite, > which only uses : commands, writes the files out and checkc their > contents, xvi's one runs the editor in a virtual terminal and scrapes > the visual output to check screen correctness. Needless to say, vim > passes almost all of the tests, including hanoi and maze, but it does > spot a few bugs, incompatabilities and POSIX uncompliances. Some > "failures" are false, due to the startup screen not being blank. > > To try it out, install expect, tclsh and tk and > > git clone http://github.com/martinwguy/xvi > cd xvi/test > VI=vim make check > > Of course you would be welcome to incorporate the test framework into > vim itself. > > Thanks for your work - vim has helped enormously in correcting bugs in xvi. Interesting. You do run the tests with $VIM_POSIX set? That makes Vim run as Posix-compatible as it can. Screenshot tests can be a nice generic testing tool, but can also check for irrelevant changes. Do you apply some kind of mask to ignore parts that don't matter? I'm not sure Posix complience is even moderately important. Vim is considered the reference by now. -- Your mouse has moved. Windows must be restarted for the change to take effect. Reboot now? /// 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202003101140.02ABeBuG032392%40masaka.moolenaar.net.
