Run the Lua plugin test suite using plenary.nvim.
Usage
/test-lua - Run all Lua tests
/test-lua server - Run only server tests
/test-lua config - Run only config tests
Commands
Run all Lua tests:
make test-unit
Run filtered tests (replace FILTER with test name pattern):
nvim --headless --noplugin -u tests/minimal_init.lua \
-c "lua require('plenary.test_harness').test_directory('tests/lua/', {minimal_init = 'tests/minimal_init.lua', filter = '$ARGUMENTS'})" \
-c "qa!"
After running tests, report:
- Total tests run
- Pass/fail count
- Any failing test details with file:line references
Converted and distributed by TomeVault — claim your Tome and manage your conversions.