4 releases

new 0.1.3 Jun 19, 2024
0.1.2 Apr 22, 2024
0.1.1 Apr 21, 2024
0.1.0 Apr 21, 2024

#167 in Testing

37 downloads per month

MIT license

19KB
308 lines

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

Dependencies

~12–26MB
~327K SLoC