3 releases

0.1.2 Apr 22, 2024
0.1.1 Apr 21, 2024
0.1.0 Apr 21, 2024

#177 in Testing

Download history 146/week @ 2024-04-15 217/week @ 2024-04-22

363 downloads per month

MIT license

18KB
298 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–24MB
~319K SLoC