A self-contained Fennel test runner that discovers *_test.fnl files, runs them in parallel, and prints a compact summary.
- Test discovery - Finds
*_test.fnlfiles across your repository - Parallel execution - Runs tests in parallel per file for speed
- Self-contained - Single binary, no dependencies required
- Rich assertions - Built-in assertion library with helpful error messages
- Mocking support - Mock modules and global variables for testing
Download the latest release:
# Download and make executable
curl -L https://github.com/curist/test-runner.com/releases/latest/download/test-runner.com -o test-runner.com
chmod +x test-runner.com
# Run all tests
./test-runner.com
# Show help
./test-runner.com --helpOr using wget:
wget https://github.com/curist/test-runner.com/releases/latest/download/test-runner.com
chmod +x test-runner.comTest files must be named *_test.fnl and return a table with test-* functions:
(local assert (require :assert))
{:test-addition
(fn [] (assert.= (+ 1 1) 2))
:test-truthy
(fn [] (assert.ok "non-empty string"))}See assert_test.fnl for a complete example.
For detailed usage documentation including assertions and mocking, see USAGE.md.
To build from source:
make # Build the binary
make test # Run tests (builds first if needed)
make clean # Remove build outputsRequirements: make, curl, zip, Linux/macOS environment
This project was developed with assistance from large language models (LLMs).
LLMs were used to help with:
- Drafting and iterating on code implementations
- Generating boilerplate and repetitive structures
- Refining documentation and comments
MIT License - see LICENSE file for details.