Introducing prism 🔥🪵
Welcome!
Make your unit testing a bit easier on the eyes.
Installation
Github Releases 🐙
- Go to the
Releases
tab of the repo here - Download the latest archive for your OS/architecture
- Extract it and place the resulting binary on your
$PATH
and ensure it is executable
cd ~/Downloads # Assuming you downloaded it here
tar -xvf prism_[whatever].tar.gz # x: Extract; v: Verbose output; f: Specify filename
chmod +x prism # Make file executable
mv prism [somewhere on your $PATH] # Move the file to somewhere on your path for easy execution
Homebrew 🍺
- Have
brew
installed (brew.sh) - Run the following:
brew install --cask daltonsw/tap/prism
Go 🖥️
- Have
Go
- Have your
Go
install location on your$PATH
- Run the following:
go install go.dalton.dog/prism@latest
Usage
Just run prism
in your module directory. Anywhere you’d run go test
, use prism
instead. That’s it!