canola.nvim/spec
Barrett Ruth 6be0148eef
build: migrate test framework from plenary to busted
Problem: plenary.nvim is deprecated. The test suite depends on
plenary's async test runner and coroutine-based utilities, tying the
project to an unmaintained dependency. CI also tests against Neovim
0.8-0.11, which are no longer relevant.

Solution: replace plenary with busted + nlua (nvim -l). Convert all
async test patterns (a.wrap, a.util.sleep, a.util.scheduler) to
synchronous equivalents using vim.wait. Rename tests/ to spec/ to
follow busted convention. Replace the CI test matrix with
nvim-busted-action targeting stable/nightly only. Add .busted config,
luarocks test_dependencies, and update the nix devshell.
2026-02-22 00:26:54 -05:00
..
altbuf_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
close_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
config_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
files_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
manual_progress.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
minimal_init.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
move_rename_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
mutator_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
parser_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
path_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
preview_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
regression_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
select_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
test_util.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
tmpdir.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
trash_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
url_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
util_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00
win_options_spec.lua build: migrate test framework from plenary to busted 2026-02-22 00:26:54 -05:00