busted
Elegant Lua unit testing. (by lunarmodules)
ltest
LTest is a unit testing framework for Lua. It is designed to be simple and easy to use. It is also designed to be used in a variety of environments, including embedded systems. (by shawnjb)
busted | ltest | |
---|---|---|
2 | 2 | |
1,349 | 5 | |
1.9% | - | |
5.0 | 10.0 | |
2 months ago | over 1 year ago | |
Lua | Lua | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
busted
Posts with mentions or reviews of busted.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-10.
- What is /usr/bin/busted?
-
How to write `pretty_print`ed json data into a json file?
I am simply using busted or more specifically vusted which is a wrapper around busted for Neovim. It should be quite straightforward to learn the basics, I would say you mostly need to know these functions: describe, it (these are used to structure your test cases) and assert.are_same (to check for table equality). Some people are also using plenary which is also based on busted.
ltest
Posts with mentions or reviews of ltest.
We have used some of these posts to build our list of alternatives
and similar projects.
- Decided to start working on a Lua testing framework that truly makes things convenient. I always see a testing framework with useless assertions and conditional statements, time for something better above all else. It's a work in progress, but I am excited, and I think it looks promising.
- GitHub - shawnjb/ltest: LTest is a unit testing framework for Lua. It is designed to be simple and easy to use. It is also designed to be used in a variety of environments, including embedded systems. This was recently renamed and published on LuaRocks, check it out!
What are some alternatives?
When comparing busted and ltest you can also consider the following projects:
nvim-goc.lua - Go Coverage for Neovim
luafun - Lua Fun is a high-performance functional programming library for Lua designed with LuaJIT's trace compiler in mind.
snippet-converter.nvim - Bundle snippets from multiple sources and convert them to your format of choice.
simple_test - :ok_hand: A powerful, minimalist and easy-to-use Lua unit testing framework.
plenary.nvim - plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
vusted - A busted wrapper for testing neovim plugin