Add Teal capabilities to Busted 🧙
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aire-One 93b1612a0d chore: gitignore `.rock` packages 1 year ago
.vscode initial 1 year ago
spec initial 1 year ago
src/busted-tl initial 1 year ago
types initial 1 year ago
.editorconfig initial 1 year ago
.gitignore chore: gitignore `.rock` packages 1 year ago
.luacheckrc initial 1 year ago
LICENSE chore: update LICENSE 1 year ago
README.md chore: update README 1 year ago
busted-tl-dev-1.rockspec chore: update dev rockspec 1 year ago
stylua.toml initial 1 year ago
tlconfig.lua initial 1 year ago

README.md

busted-tl

Add Teal capabilities to Busted 🧙

Usage

First busted-tl needs to be installed. The most easy way to install is to use Luarocks:

luarocks install busted-tl

(Note: busted-tl depends on busted, so it will automatically be installed by Luarocks if it is missing)

Now, when running busted to allow the Teal loaders it must be specified with the --loaders flag:

busted --loaders=teal

When managing a project with Luarocks, it's easy to configure busted-tl:

test_dependencies = {
   "busted-tl",
}

test = {
   type = "busted",
   flags = {
      "--loaders=teal",
   },
}