Skip to content

Kate Vi Mode Test Suite – GSoC 2011

Sunday, 7 August 2011 | Svyatoslav Kuzmich

This summer vi mode has a new test suite. Now there are over 250 tests and the number of them still growing.
It’s very easy to add a new test. All you need is just to add the
DoTest(“Original text”,”Vi command”,”Expected text after doing vi command”);
line to part/tests/vimode_test.cpp.
Format for command with CTRL – modifier: \ctrl-x, for command -mode command: \:command\.
There are little restriction: you can’t input text while being in input mode.


It’s also a good format for bug report or for feature wish for vi-mode.