chore: standards + test suite (stylua, luacheck, busted, CI) #5
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jwarykowski/nvim-shepherd!5
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/standards-and-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the standard nvim-plugin toolchain and a test suite.
tooling
.stylua.toml,.luacheckrc,.bustedMakefile:fmt/lint(stylua --check + luacheck) /test(busted) /check.github/workflows/pull-request.yml: lint + suite on Neovim stable and nightlytests
tests/shepherd_spec.lua(busted, run under nvim vianlua) covers the pure helpers through a newM._internaltable:tally,format_status,label,clean,build_cmd/filter resolution.tallyandformat_statusout of the async statusline path so the counting/formatting logic is unit-testable.