testbox-0.1.5 is not a library.
testbox
A fast test runner that works out of the box. Zero dependencies.
- Tests are written in Lua (but you don't need Lua installed on your system)
- Batteries included for API testing
# Prints out:
Installation
If you have cargo/rust on your system:
Otherwise you can just download the compiled executable from the releases page.
Examples
Run your API server and fetch
Test command-line tools
Preludes that supply utilities
Use the -p or --prelude to insert a lua file that is executed before the
test scripts.
TMP=
Multiple prelude files is also supported - the -p flag can be used multiple
times for different files.
Test Library
The examples above use helper functions such as exec_bg and fetch. These functions are part of the Testbox Library, which you can learn more about here.