To Futz around (verb): To engage in time-consuming, often tedious work on minor details or technical adjustments.
A Go test UI that watches your files and runs tests automatically. Coverage is shown directly in the browser with syntax highlighting.
When writing tests, checking for coverage can get tedious very quickly. For me, I usually automate it with Air or Entr. But as the codebase grows, I either have to keep re-writing the command for each test I work on, or I just run all tests and have to scroll back to see the coverage.
GoFutz allows you to just have a browser window open, click on the file you're working on, and see the coverage update in real time. No scrolling or re-running of commands needed.
- Runs tests when you save Go files
- Shows test coverage live in the browser
- Highlights lines that are covered or uncovered
go install github.com/Dobefu/gofutz@latestgofutzThis will run the application of the default port 7357.
For a different port, the --port flag can be used.
Go to http://localhost:7357 to view the test dashboard.
