gotex

command module
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 8 Imported by: 0

README

Gotex

A cross-platform TUI Go Test Explorer for Go.

Gotex Screenshot

gotex

A Terminal User Interface (TUI) for discovering and executing Go tests with ease. Gotex provides an intuitive interface to navigate, filter and run your Go test suite from the terminal.

Features

  • Interactive terminal interface for browsing test packages, tests and test cases
  • Fuzzy find tests or navigate the tree
  • Allows for results to be parsed through other tools
  • Vim like keybindings
  • Rerun last test

Installation

[!Note] If color is not working along side tmux set export COLORTERM=truecolor

go install github.com/sgrumley/gotex@latest

Usage

Navigate to your Go project directory and run:

gotex
Keyboard Controls
  • j/k or ↑/↓: Navigate through tests
  • h/l: Expand or close child tests
  • r: Run selected test
  • R: Rerun last test
  • A: Run all tests
  • /: Search tests
  • s: Sync project
  • c: Config display
  • C: Debug Console
  • ctrl-u/ ctrl-d: Scroll text
  • gg: Top of page
  • G: Bottom of page
  • q: Quit

Configuration

Gotex can be configured using a provided yaml file:

# Default configuration
json: false
timeout:
short: false
verbose: true
failfast: false
cover: true
# pipeto: tparse

Requirements

  • Go 1.16 or higher
  • Terminal with 256 color support

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
driver command
internal
pkg

Jump to

Keyboard shortcuts

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