Skip to content

Latest commit

 

History

History
82 lines (43 loc) · 1.67 KB

File metadata and controls

82 lines (43 loc) · 1.67 KB

lazytestr

lazytestr is a command-line utility designed to help manage and run tests with an intuitive terminal UI. This tool scans for test files, lists available tests, and allows you to run tests directly from the terminal with colorized output and live updates. Screenshot

Features

  • Test Discovery: Automatically scans and lists all available test files and test functions.
  • Intuitive UI: Navigate through test files and test functions using a terminal-based user interface.
  • Live Test Output: Run tests and view live output with color-coded results.
  • Watch Mode: Automatically re-run tests when source files change.

Installation

To install My Rust Tool, follow these steps:

  1. Clone the Repository:

    git clone git@github.com:Aion-Studio/lazytestr.git
    cd lazytestr
  2. Build and Move Binary to /usr/local/bin:

    Ensure that /usr/local/bin is in your PATH:

    echo $PATH

    If /usr/local/bin is not in your PATH, add it by editing your shell profile (~/.bashrc, ~/.zshrc, etc.):

    export PATH=$PATH:/usr/local/bin
    ./build

OR

Clone and build the project yourself and move it to wherever you have local binaries in your path.

Usage

Run the tool by executing:

lazytestr

Key Bindings

Navigation:

h / l: Switch between panes.

j / k: Move up/down in the current pane.

Actions:

Enter: Run the selected test.

w: Toggle watch mode.

q: Quit the application.

y: Copy debug contents or test output to clipboard.