Skip to content

jackTabsCode/testez-companion-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestEZ Companion CLI

Warning

This isn't well tested and was made in a couple hours. If something doesn't work, please file an issue.

This is a quick and dirty CLI to interface with TestEZ Companion. It was made to allow users to run tests from the command line without needing to use the VSCode extension.

You'll need the plugin for this to work, which is bundled in the latest release (alternatively, you can build it from source).

SCR-20240421-cxmd

Features

  • Easily run tests from the command line
  • Supports multiple places
  • Pretty prints results
  • Prints logs and other output from Studio
  • Installs the plugin for you (not implemented yet)

Installation

Aftman

aftman add jacktabscode/testez-companion-cli

Cargo

cargo install testez-companion-cli

Usage

Just run testez-companion-cli in your terminal. If there are multiple places open, it will prompt you to select one. It will then output the results of the tests!

If you wanted, you could add this to a pre-commit hook to ensure that tests pass before committing (though, it would require your place be open in Studio, of course).