https://github.com/encodeous/harn
simple testing harness
https://github.com/encodeous/harn
Last synced: 8 months ago
JSON representation
simple testing harness
- Host: GitHub
- URL: https://github.com/encodeous/harn
- Owner: encodeous
- Created: 2025-06-09T14:30:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-06-09T14:39:03.000Z (8 months ago)
- Last Synced: 2025-06-09T15:38:10.420Z (8 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Testing Harness
Install:
`go install github.com/encodeous/harn@latest`
This program is a simple testing harness that allows users to compare program output using stdin/out.
```
Usage: harn [options]
Example: harn -v -t 5s ./myprogram 'testcases/*.in'
-v Enable full output when tests fail
-t Set timeout for program execution (default: 30s)
-g Generate output files if they don't exist
-f (when -g is passed in) Overwrite the output file even if it exists
-h Use SHA256 to compare with .hash files instead of .out files
```