gofutz

command module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 1 Imported by: 0

README

GoFutz

Go Version License Quality Gate Status Coverage Go Report Card

To Futz around (verb): To engage in time-consuming, often tedious work on minor details or technical adjustments.

GoFutz Dashboard

A Go test UI that watches your files and runs tests automatically. Coverage is shown directly in the browser with syntax highlighting.

Why use GoFutz?

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.

What it does

  • Runs tests when you save Go files
  • Shows test coverage live in the browser
  • Highlights lines that are covered or uncovered

Installation

go install github.com/Dobefu/gofutz@latest

Usage

gofutz

This 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.

Documentation

Overview

Package main provides the main entrypoint of the application.

Directories

Path Synopsis
Package assets provides the static assets.
Package assets provides the static assets.
Package cmd provides CLI commands for GoFutz.
Package cmd provides CLI commands for GoFutz.
internal
filewatcher
Package filewatcher provides file watching functionality.
Package filewatcher provides file watching functionality.
server
Package server provides server functionality.
Package server provides server functionality.
server/routes
Package routes provides structs for all routes.
Package routes provides structs for all routes.
server/routes/index
Package index provides an index route handler.
Package index provides an index route handler.
server/routes/ws
Package ws provides a websocket route handler.
Package ws provides a websocket route handler.
testrunner
Package testrunner provides test runner functionality.
Package testrunner provides test runner functionality.
websocket
Package websocket provides websocket functionality.
Package websocket provides websocket functionality.
Package templates provides the HTML templates.
Package templates provides the HTML templates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL