Skip to content

test: add plenary busted test suite and CI job - #5

Merged
wassimk merged 1 commit into
mainfrom
wm/add-tests
Feb 14, 2026
Merged

wassimk merged 1 commit into
mainfrom
wm/add-tests

Conversation

@wassimk

@wassimk wassimk commented Feb 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add 13 plenary busted tests covering substitute() in normal, visual, and visual line modes
  • Add test helpers with vim API mocking (feedkeys, mode, marks, notify, etc.)
  • Add Makefile with test and lint targets for local development
  • Add CI test job running Neovim v0.10.0 headless, extend stylua to lint tests/

Test plan

  • All 13 tests pass locally via make test
  • make lint passes with stylua checking both lua/ and tests/
  • CI build passes on GitHub Actions

Add tests for substitute() covering normal, visual, and visual line
modes including edge cases for blank/empty selections and multi-line
rejection. Includes test helpers with vim API mocking, a Makefile for
running tests locally, and a CI workflow job using Neovim v0.10.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wassimk
wassimk merged commit 690e7a8 into main Feb 14, 2026
5 of 6 checks passed
@wassimk
wassimk deleted the wm/add-tests branch February 14, 2026 14:33
wassimk added a commit that referenced this pull request Feb 14, 2026
Add tests for substitute() covering normal, visual, and visual line
modes including edge cases for blank/empty selections and multi-line
rejection. Includes test helpers with vim API mocking, a Makefile for
running tests locally, and a CI workflow job using Neovim v0.10.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant