Skip to content

Commit

Permalink
chore: Add configuration for Busted test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque authored and Tieske committed Oct 9, 2020
1 parent aba04e1 commit 92173be
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .busted
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
return {
default = {
lpath = "./lua/?.lua;./lua/?/init.lua",
}
}
-- vim: ft=lua
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ not_globals = {
include_files = {
"**/*.lua",
"*.rockspec",
".busted",
".luacheckrc",
}

Expand Down
8 changes: 8 additions & 0 deletions penlight-dev-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ dependencies = {
"luafilesystem"
}

test_dependencies = {
"busted",
}

test = {
type = "busted",
}

build = {
type = "builtin",
modules = {
Expand Down

0 comments on commit 92173be

Please sign in to comment.