open-index/open-npm huggingface dataset:
npm package: @slack/slack-cli-test-utils
Description: Automated end to end testing utilities for the slack cli
Latest version: 0.1.4

# slack-cli-integration-test

## Setup
Ensure that you have your Slack CLI binary that you wish to test setup on the machine you ae running the tests on.

To run these tests using a local CLI build from `main`, symlinking:

```
rm /usr/local/bin/<BIN_NAME> && ln -s /<PATH>/<TO>/<YOUR>/<LOCAL>/<BIN> /usr/local/bin/<BIN_NAME>
```

Then create a file called `.env` in the project to hold environment variables. Add SLACK_CLI_PATH to this file to
configure the name of your local Slack CLI binary that tests will use. See `.env.sample` for an example.

## Usage

`src/runner/testRunner.ts` is used to to set up environment variables an start tests.