To Install BAT
The Blackbox Automated Testing (BAT) CLI wrapper is a command line wrapper that you install to execute API tests.
Before installing the BAT CLI, ensure that AdoptOpenJDK’s OpenJDK 8 is installed on your system.
Install Windows Subsystem for Linux (WSL)
The instructions are at https://docs.microsoft.com/en-us/windows/wsl/install-win10.
Install Java 8, curl, and the application "unzip" into the Linux distribution that you installed in your WSL.
batexecutable to your
~/.bashrcfile (if you are using
bash) or the
~/.zshrcfile (if you are using
zsh) for editing. For example, to use the
vieditor, enter either of these commands:
Add the following line to the end of the file and then save the file:
Run the following command to install the BAT CLI:
curl -o- 'https://s3.amazonaws.com/bat-wrapper/install.sh' | bash
Run the command
bat -versionto verify that the BAT CLI is installed.