Feat: Add Basic Lua Test Suite (#115)

This MR adds a Lua test suite to the project, run via busted, and introduces tests for a number of the utility functions. Subsequent work will have to be done to test functions that use the `vim.api` scope and external packages to the plugin.
This commit is contained in:
Harrison (Harry) Cramer
2023-11-20 18:03:35 -05:00
committed by GitHub
parent 1abc33d149
commit 88b9196a2e
12 changed files with 401 additions and 180 deletions

13
.busted Normal file
View File

@@ -0,0 +1,13 @@
return {
_all = {
pattern = "_spec",
lpath = "lua/?.lua;lua/?/init.lua",
ROOT = {"lua/gitlab"},
},
default = {
verbose = true
},
tests = {
verbose = true,
},
}