@slack/slack-cli-test-utils
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

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.

/@slack/slack-cli-test-utils/

    Package Sidebar

    Install

    npm i @slack/slack-cli-test-utils

    Weekly Downloads

    0

    Version

    0.1.4

    License

    none

    Unpacked Size

    285 kB

    Total Files

    154

    Last publish

    Collaborators

    • e-zim
    • filmaj
    • srajiang88
    • slackhq
    • ajm
    • stevegill
    • slack_biztech
    • seratch
    • misscoded
    • mwbrooks