- Run all tests:
./run_tests.sh - Run a single test: Replace the directory in the above command with the test file path, e.g.:
./run_tests.sh -t tests/unit/test_example.lua
- Comments: Avoid obvious comments that merely restate what the code does. Only add comments when necessary to explain why something is done, not what is being done. Prefer self-explanatory code.
- Config: Centralize in
config.lua. Use deep merge for user overrides. - Types: Use Lua annotations (
---@class,---@field, etc.) for public APIs/config.