summaryrefslogtreecommitdiffstats
path: root/src/testing.c
AgeCommit message (Collapse)Author
2021-07-15patch 8.2.3162: Vim9: argument types are not checked at compile timev8.2.3162Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
2021-07-11patch 8.2.3150: Vim9: argument types are not checked at compile timev8.2.3150Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
2021-07-10patch 8.2.3135: Vim9: builtin function arguments not checked at compile timev8.2.3135Yegappan Lakshmanan
Problem: Vim9: builtin function arguments not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
2021-06-27patch 8.2.3067: building fails with Athenav8.2.3067Bram Moolenaar
Problem: Building fails with Athena. (Elimar Riesebieter) Solution: Adjust #ifdefs and add the 'drop_file' feature.
2021-06-23patch 8.2.3040: GUI: dropping files not testedv8.2.3040Yegappan Lakshmanan
Problem: GUI: dropping files not tested. Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan, closes #8434)
2021-06-22patch 8.2.3036: Vim9: builtin function arguments not checked at compile timev8.2.3036Yegappan Lakshmanan
Problem: Vim9: builtin function arguments not checked at compile time. Solution: Add more argument type specs. Check arguments to test_setmouse() and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
2021-06-21patch 8.2.3028: GUI mouse events not testedv8.2.3028Yegappan Lakshmanan
Problem: GUI mouse events not tested. Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few viminfo tests. (Yegappan Lakshmanan, closes #8407)
2021-05-07patch 8.2.2842: Vim9: skip argument to searchpair() is not compiledv8.2.2842Bram Moolenaar
Problem: Vim9: skip argument to searchpair() is not compiled. Solution: Add VAR_INSTR.
2021-04-02patch 8.2.2694: when 'matchpairs' is empty every character beepsv8.2.2694Bram Moolenaar
Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz) Solution: Bail out when no character in 'matchpairs' was found. (closes #8053) Add assert_nobeep().
2021-03-10patch 8.2.2586: process id may be invalidv8.2.2586Bram Moolenaar
Problem: Process id may be invalid. Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo van der Sanden, closes #7947)
2020-11-04patch 8.2.1953: Vim9: extra "unknown" error after other errorv8.2.1953Bram Moolenaar
Problem: Vim9: extra "unknown" error after other error. Solution: Restore did_emsg count after EXEC instruction. (closes #7254) Improve error message from assert_fails()
2020-10-28patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar
Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
2020-09-10patch 8.2.1653: expand('<stack>') does not include the final line numberv8.2.1653Bram Moolenaar
Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
2020-09-06patch 8.2.1632: not checking the context of test_fails()v8.2.1632Bram Moolenaar
Problem: Not checking the context of test_fails(). Solution: Add the line number and context arguments. Give error if assert_fails() argument types are wrong.
2020-09-06patch 8.2.1631: test_fails() does not check the context of the line numberv8.2.1631Bram Moolenaar
Problem: test_fails() does not check the context of the line number. Solution: Use another argument to specify the context of the line number.
2020-08-18patch 8.2.1484: flaky failure in assert_fails()v8.2.1484Bram Moolenaar
Problem: Flaky failure in assert_fails(). Solution: Only used fourth argument if there is a third argument.
2020-08-18patch 8.2.1479: Vim9: error for list index uses wrong line numberv8.2.1479Bram Moolenaar
Problem: Vim9: error for list index uses wrong line number. Solution: Set source line number. (closes #6724) Add a way to assert the line number of the error with assert_fails().
2020-07-26patch 8.2.1297: when a test fails it's often not easy to see wherev8.2.1297Bram Moolenaar
Problem: When a test fails it's often not easy to see what the call stack is. Solution: Add more entries from the call stack in the exception message.
2020-07-12patch 8.2.1199: not all assert functions are fully testedv8.2.1199Bram Moolenaar
Problem: Not all assert functions are fully tested. Solution: Test more assert functions.
2020-07-11patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar
Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior.
2020-06-15patch 8.2.0982: insufficient testing for reading/writing filesv8.2.0982Bram Moolenaar
Problem: Insufficient testing for reading/writing files. Solution: Add more tests. (Yegappan Lakshmanan, closes #6257) Add "ui_delay" to test_override() and use it for the CTRL-O test.
2020-06-13patch 8.2.0970: terminal properties are not available in Vim scriptv8.2.0970Bram Moolenaar
Problem: Terminal properties are not available in Vim script. Solution: Add the terminalprops() function.
2020-06-13patch 8.2.0969: assert_equal() output for dicts is hard to figure outv8.2.0969Bram Moolenaar
Problem: Assert_equal() output for dicts is hard to figure out. Solution: Only show the different items.
2020-06-04patch 8.2.0899: assert_equalfile() does not give a hint about the differencev8.2.0899Bram Moolenaar
Problem: Assert_equalfile() does not give a hint about the difference. Solution: Display the last seen text.
2020-06-03patch 8.2.0893: assert_equalfile() does not take a third argumentv8.2.0893Bram Moolenaar
Problem: Assert_equalfile() does not take a third argument. Solution: Implement the third argument. (Gary Johnson)
2020-04-27patch 8.2.0650: Vim9: script function can be deletedv8.2.0650Bram Moolenaar
Problem: Vim9: script function can be deleted. Solution: Disallow deleting script function. Delete functions when sourcing a script again.
2020-04-05patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"v8.2.0517Bram Moolenaar
Problem: Vim9: cannot separate "func" and "func(): void". Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
2020-04-01patch 8.2.0493: Vim9: some error messages not testedv8.2.0493Bram Moolenaar
Problem: Vim9: some error messages not tested. Solution: Add more tests. Fix uncovered bugs.
2020-02-22patch 8.2.0299: Vim9: ISN_STORE with argument not testedv8.2.0299Bram Moolenaar
Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool() not tested. Solution: Add tests. Add test_unknown() and test_void().
2020-02-12patch 8.2.0250: test_clear_search_pat() is unusedv8.2.0250Bram Moolenaar
Problem: test_clear_search_pat() is unused. Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
2020-02-05patch 8.2.0212: missing search/substitute pattern hardly testedv8.2.0212Bram Moolenaar
Problem: Missing search/substitute pattern hardly tested. Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan, closes #5579)
2020-01-28patch 8.2.0163: test hangs on MS-Windows consolev8.2.0163Bram Moolenaar
Problem: Test hangs on MS-Windows console. Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
2020-01-26patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
2020-01-11patch 8.2.0111: VAR_SPECIAL is also used for booleansv8.2.0111Bram Moolenaar
Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking.
2019-12-29patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar
Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-23patch 8.2.0035: saving and restoring called_emsg is clumsyv8.2.0035Bram Moolenaar
Problem: Saving and restoring called_emsg is clumsy. Solution: Count the number of error messages.
2019-12-05patch 8.1.2395: using old C style commentsv8.1.2395Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-10-17patch 8.1.2171: mouse support not always availablev8.1.2171Bram Moolenaar
Problem: Mouse support not always available. Solution: Enable mouse support also in tiny version. Do not define FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-07-14patch 8.1.1687: the evalfunc.c file is too bigv8.1.1687Bram Moolenaar
Problem: The evalfunc.c file is too big. Solution: Move testing support to a separate file.