Repository navigation
gest v1.1.2 β Jest-style testing for Go π§ͺ
Release notes β v1.1.2
-- only update time of watch :D
β¨ New feature: Watch Mode
gest now ships with a built-in watch mode. No extra tools, no config β just a flag.
go run . --watch # watch mode
go run . -w # shorthand
go run . --watch -c # watch + coverage tableHow it works:
- Runs immediately on startup β you see results before any file changes
- Watches all
.gofiles recursively from the current working directory (skipsvendor/and hidden dirs like.git/) - Debounced re-runs β rapid saves (e.g. editor auto-format on save) are collapsed into a single re-run via a 200 ms debounce
- Full terminal clear before every re-run, including scrollback β each result appears fresh at the top
- Compiled binary β builds your project to a temp binary in your OS temp directory (
go build) for the session; much cleaner thango runon every change - Automatic cleanup β the temp binary is removed when you press
Ctrl+C(SIGINT or SIGTERM). Nothing is left in your project directory
π§ Implementation details
All watch logic lives directly in gest/gest.go, consistent with the project's single-file philosophy. The flag is parsed inside RunRegistered(), so existing main.go files require zero changes.
π¦ Dependency added
github.com/fsnotify/fsnotify v1.9.0 β the only external dependency gest has ever added. Used exclusively by watch mode; the core test runner remains stdlib only.
π Docs & copy updated
- Navbar version badge:
v1.0βv1.1.0 - Hero badge:
v1.0.0 β Now availableβv1.1.0 β Now available - "Zero dependencies" updated to "Minimal dependencies" across README, docs site, footer, search index, and philosophy sections
- New Watch Mode section in the documentation with code examples and callouts
- Watch Mode added to the sidebar nav and the search modal index
- Docs site rebuilt (
dist/)
Full Changelog: v1.1.1...v1.1.2