Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@salesforce/cli-plugins-testkit

salesforcecli101.5kBSD-3-Clause5.3.39TypeScript support: included

Provides test utilities to assist Salesforce CLI plug-in authors with writing non-unit tests (NUT).

force, salesforce, sfdx, salesforcedx, cli, plugins, testkit, test, integration, nut

readme

NPM

Description

The @salesforce/cli-plugins-testkit library provides test utilities to assist Salesforce CLI plug-in authors with writing NUTs (non-unit-tests), like integration, smoke, and e2e style testing. For example, you could write tests to ensure your plugin commands execute properly using an isolated Salesforce project, scratch org, and different Salesforce CLI executables.

Usage

Add this library as a dev dependencies to your project.

yarn add @salesforce/cli-plugins-testkit --dev

Create a test file and import the utilities from this library that you'd like to use.

Using a different file extension will help separate your unit tests from your NUTs even if they are in the same directories. For example, if you use mytest.nut.ts instead of mytest.test.ts, you can have the following scripts in your package.json (assuming mocha).

{
  "scripts": {
    "test": "mocha **/*.test.ts",
    "test-nut": "mocha **/*.nut.ts"
  }
}

See Samples doc for many testkit usecases and sample code

Example NUTs

Here are some public github repos for plugins that use this library for NUTs:

Running Commands

Although oclif provides a way to run commands locally using the local bin/run file...

import { exec } from 'shelljs';
const result = exec('./bin/run mycommand --myflag --json');
console.log(JSON.parse(result.stdout));

...that doesn't provide flexibility to target different CLI executables in Continuous Integration (CI). For example, you may want to run NUTs against the newly published version of your plugin using the latest-rc of the Salesforce CLI to make sure everything still works as expected.

The testkit provides execCmd which uses the TESTKIT_EXECUTABLE_PATH environment variable to run a plugin command, in addition to other useful builtin utilties such as json parsing, return type casting (for TypeScript) and command execution timing.

import { execCmd } from '@salesforce/cli-plugins-testkit';

const result = execCmd<MyReturntype>('mycommand --myflag --json').jsonOutput;
expect(result.name).to.equal('expectedName');
# Install the release candidate in the current directory using NPM
npm install @salesforce/cli@latest-rc

# Install the newly published version of my plugin
./node_modules/.bin/sf plugins:install myplugin

# Target the local sf
export TESTKIT_EXECUTABLE_PATH=./node_modules/.bin/sf

# Run NUTs (requires a test:nuts script target in the package.json)
yarn test:nuts

You will notice that the executable is not configurable in the execCmd method directly. If you need to run other commands not located in your plugin, use shelljs directly.

import { exec } from 'shelljs';
import { execCmd } from '@salesforce/cli-plugins-testkit';

await exec('sf auth:jwt:grant ... --json');
const result = await execCmd('mycommand --myflag --json');

Environment Variables

Env Var Description
TESTKIT_SESSION_DIR Overrides the default directory for the test session.
TESTKIT_HOMEDIR Path to a home directory that the tests will use as a stub of os.homedir.
TESTKIT_ORG_USERNAME An org username to use for test commands. Tests will use this org rather than creating new orgs.
TESTKIT_PROJECT_DIR A SFDX project to use for testing. The tests will use this project directly rather than creating a new project.
TESTKIT_SAVE_ARTIFACTS Prevents a test session from deleting orgs, projects, and test sessions during TestSession.clean().
TESTKIT_ENABLE_ZIP Allows zipping the session dir when this is true and TestSession.zip() is called during a test.
TESTKIT_SETUP_RETRIES Number of times to retry the setupCommands after the initial attempt before throwing an error.
TESTKIT_SETUP_RETRIES_TIMEOUT Milliseconds to wait before the next retry of setupCommands. Defaults to 5000.
TESTKIT_EXEC_SHELL The shell to use for all testkit shell executions rather than the shelljs default.
TESTKIT_HUB_USERNAME Username of an existing, authenticated devhub org that TestSession will use to auto-authenticate for tests.
TESTKIT_JWT_CLIENT_ID clientId of the connected app that TestSession will use to auto-authenticate for tests.
TESTKIT_JWT_KEY JWT key file contents that TestSession will use to auto-authenticate for tests.
TESTKIT_HUB_INSTANCE Instance url for the devhub org. Defaults to https://login.salesforce.com
TESTKIT_AUTH_URL Auth url that TestSession will use to auto-authenticate for tests. Uses the auth:sfdxurl:store command.

Contributing

changelog

5.3.39 (2024-12-07)

Bug Fixes

  • deps: bump debug from 4.3.7 to 4.4.0 (6bd0dc0)

5.3.38 (2024-11-17)

Bug Fixes

  • deps: bump cross-spawn from 7.0.3 to 7.0.5 (2164e9b)

5.3.37 (2024-11-16)

Bug Fixes

  • deps: bump @salesforce/core from 8.6.4 to 8.8.0 (2656152)

5.3.36 (2024-11-02)

Bug Fixes

  • deps: bump @salesforce/core from 8.6.3 to 8.6.4 (3c03599)

5.3.35 (2024-10-26)

Bug Fixes

  • deps: bump @salesforce/core from 8.6.2 to 8.6.3 (c126032)

5.3.34 (2024-10-12)

Bug Fixes

  • deps: bump @salesforce/core from 8.6.1 to 8.6.2 (53d3baf)

5.3.33 (2024-09-28)

Bug Fixes

  • deps: bump @salesforce/core from 8.5.7 to 8.6.1 (5bc278f)

5.3.32 (2024-09-15)

Bug Fixes

  • deps: bump @salesforce/core from 8.5.4 to 8.5.7 (15dd0da)

5.3.31 (2024-09-14)

Bug Fixes

  • deps: bump @salesforce/kit from 3.2.2 to 3.2.3 (6c68fab)

5.3.30 (2024-09-07)

Bug Fixes

  • deps: bump debug from 4.3.6 to 4.3.7 (7488ef3)

5.3.29 (2024-09-07)

Bug Fixes

  • deps: bump @salesforce/core from 8.5.1 to 8.5.4 (f8b18a0)

5.3.28 (2024-09-01)

Bug Fixes

  • deps: bump @salesforce/core from 8.4.0 to 8.5.1 (2eb5a48)

5.3.27 (2024-08-31)

Bug Fixes

  • deps: bump micromatch from 4.0.5 to 4.0.8 (b7c71de)

5.3.26 (2024-08-17)

Bug Fixes

  • deps: bump @salesforce/core from 8.3.0 to 8.4.0 (5eade11)

5.3.25 (2024-08-10)

Bug Fixes

  • deps: bump @salesforce/kit from 3.2.0 to 3.2.1 (31a8d77)

5.3.24 (2024-08-10)

Bug Fixes

  • deps: bump @salesforce/core from 8.2.8 to 8.3.0 (6a51aef)

5.3.23 (2024-08-04)

Bug Fixes

  • deps: bump debug from 4.3.5 to 4.3.6 (a503e24)

5.3.22 (2024-08-04)

Bug Fixes

  • deps: bump @salesforce/kit from 3.1.6 to 3.2.0 (902282c)

5.3.21 (2024-08-03)

Bug Fixes

  • deps: bump @salesforce/core from 8.2.3 to 8.2.8 (2d6d295)

5.3.20 (2024-07-27)

Bug Fixes

  • deps: bump @salesforce/core from 8.2.1 to 8.2.3 (2ce3ca0)

5.3.19 (2024-07-20)

Bug Fixes

  • deps: bump @salesforce/core from 8.1.1 to 8.2.1 (26c051e)

5.3.18 (2024-07-06)

Bug Fixes

  • deps: bump @salesforce/core from 8.1.0 to 8.1.1 (6cad033)

5.3.17 (2024-06-29)

Bug Fixes

  • deps: bump @salesforce/core from 8.0.3 to 8.1.0 (bad964b)

5.3.16 (2024-06-22)

Bug Fixes

  • deps: bump @salesforce/core from 8.0.1 to 8.0.3 (bebff6b)

5.3.15 (2024-06-19)

Bug Fixes

5.3.14 (2024-06-16)

Bug Fixes

  • deps: bump @salesforce/ts-types from 2.0.9 to 2.0.10 (585ac63)

5.3.13 (2024-06-16)

Bug Fixes

  • deps: bump @salesforce/kit from 3.1.2 to 3.1.4 (a3b168d)

5.3.12 (2024-06-15)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.12 to 7.4.1 (c46932b)

5.3.11 (2024-06-13)

Bug Fixes

  • deps: bump braces from 3.0.2 to 3.0.3 (f7b7a4b)

5.3.10 (2024-06-08)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.9 to 7.3.12 (be84345)

5.3.9 (2024-06-01)

Bug Fixes

  • deps: bump debug from 4.3.4 to 4.3.5 (ee15d47)

5.3.8 (2024-05-26)

Bug Fixes

  • deps: bump ts-retry-promise from 0.8.0 to 0.8.1 (0260339)

5.3.7 (2024-05-25)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.8 to 7.3.9 (d2845f0)

5.3.6 (2024-05-25)

Bug Fixes

  • deps: bump @salesforce/kit from 3.1.1 to 3.1.2 (5383811)

5.3.5 (2024-05-18)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.5 to 7.3.8 (f866ddb)

5.3.4 (2024-05-11)

Bug Fixes

  • deps: bump sinon from 17.0.1 to 17.0.2 (52921f1)

5.3.3 (2024-05-11)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.3 to 7.3.5 (b4ded57)

5.3.2 (2024-05-04)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.1 to 7.3.3 (3815ec1)

5.3.1 (2024-04-27)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.0 to 7.3.1 (cac51fe)

5.3.0 (2024-04-25)

Features

  • execInteractive takes string or string[] (#637) (9819b52)

5.2.3 (2024-04-20)

Bug Fixes

  • deps: bump @salesforce/kit from 3.1.0 to 3.1.1 (eb68f3b)

5.2.2 (2024-04-20)

Bug Fixes

  • deps: bump @salesforce/core from 7.2.0 to 7.3.0 (4b084c0)

5.2.1 (2024-04-13)

Bug Fixes

  • deps: bump @salesforce/core from 7.0.0 to 7.2.0 (8419a94)

5.2.0 (2024-04-10)

Features

5.1.14 (2024-04-06)

Bug Fixes

  • deps: bump @salesforce/core from 6.7.3 to 6.7.6 (6906214)

5.1.13 (2024-03-30)

Bug Fixes

  • deps: bump @salesforce/kit from 3.0.15 to 3.1.0 (3d4b132)

5.1.12 (2024-03-23)

Bug Fixes

  • deps: bump @salesforce/core from 6.7.1 to 6.7.3 (7cd840c)

5.1.11 (2024-03-16)

Bug Fixes

  • deps: bump @salesforce/core from 6.7.0 to 6.7.1 (6c8d788)

5.1.10 (2024-03-02)

Bug Fixes

  • deps: bump @salesforce/core from 6.5.3 to 6.7.0 (5bdeab3)

5.1.9 (2024-02-10)

Bug Fixes

  • deps: bump @salesforce/core from 6.5.1 to 6.5.3 (79ce8e9)

5.1.8 (2024-01-27)

Bug Fixes

  • deps: bump @salesforce/core from 6.4.7 to 6.5.1 (34a4bb9)

5.1.7 (2024-01-13)

Bug Fixes

  • deps: bump @salesforce/core from 6.4.4 to 6.4.7 (0b0a922)

5.1.6 (2024-01-13)

Bug Fixes

  • deps: bump ts-retry-promise from 0.7.1 to 0.8.0 (ddcd36f)

5.1.5 (2024-01-12)

Bug Fixes

5.1.4 (2024-01-06)

Bug Fixes

  • deps: bump @salesforce/core from 6.4.2 to 6.4.4 (a41eee1)

5.1.3 (2023-12-23)

Bug Fixes

  • deps: bump @salesforce/core from 6.4.1 to 6.4.2 (ea10d55)

5.1.2 (2023-12-16)

Bug Fixes

  • deps: bump @salesforce/core from 6.4.0 to 6.4.1 (2232057)

5.1.1 (2023-12-09)

Bug Fixes

  • deps: bump @salesforce/core from 6.2.2 to 6.4.0 (11cb968)

5.1.0 (2023-12-04)

Features

5.0.6 (2023-12-02)

Bug Fixes

  • deps: bump @salesforce/core from 6.2.0 to 6.2.2 (45ecc62)

5.0.5 (2023-11-25)

Bug Fixes

  • deps: bump @salesforce/core from 6.1.4 to 6.2.0 (aa2b5ae)

5.0.4 (2023-11-12)

Bug Fixes

  • deps: bump @salesforce/core from 5.3.17 to 5.3.20 (d2958f9)

5.0.3 (2023-11-11)

Bug Fixes

  • deps: bump @types/shelljs from 0.8.14 to 0.8.15 (b012134)

5.0.2 (2023-11-06)

Bug Fixes

5.0.1 (2023-11-04)

Bug Fixes

  • deps: bump @salesforce/core from 5.3.10 to 5.3.17 (c4f2a83)

5.0.0 (2023-11-02)

Bug Fixes

4.4.12 (2023-10-30)

Bug Fixes

  • update bin/dev|run exec for when run.js exist (d387c30)

4.4.11 (2023-10-29)

Bug Fixes

  • deps: bump @salesforce/kit from 3.0.13 to 3.0.15 (067ee6f)

4.4.10 (2023-10-21)

Bug Fixes

  • deps: bump @types/shelljs from 0.8.13 to 0.8.14 (81ed87d)

4.4.9 (2023-10-21)

Bug Fixes

  • deps: bump @salesforce/core from 5.3.5 to 5.3.10 (0fca1f4)

4.4.8 (2023-10-19)

Bug Fixes

  • deps: bump @babel/traverse from 7.22.4 to 7.23.2 (6a09db7)

4.4.7 (2023-10-08)

Bug Fixes

  • deps: bump @salesforce/core from 5.3.1 to 5.3.5 (daca0b4)

4.4.6 (2023-10-07)

Bug Fixes

  • deps: bump @salesforce/kit from 3.0.12 to 3.0.13 (d9c45dc)

4.4.5 (2023-10-01)

Bug Fixes

  • deps: bump @salesforce/core from 5.2.10 to 5.3.1 (f547bf1)

4.4.4 (2023-10-01)

Bug Fixes

  • deps: bump @types/shelljs from 0.8.12 to 0.8.13 (8138f14)

4.4.3 (2023-10-01)

Bug Fixes

  • deps: bump @salesforce/kit from 3.0.11 to 3.0.12 (b9f2a39)

4.4.2 (2023-09-28)

Bug Fixes

  • deps: bump @salesforce/core from 5.2.9 to 5.2.10 (e5b91c1)

4.4.1 (2023-09-28)

Bug Fixes

  • deps: bump get-func-name from 2.0.0 to 2.0.2 (b224f31)

4.4.0 (2023-09-26)

Features

  • support bin/dev.js scripts (ec9eef9)

4.3.6 (2023-09-16)

Bug Fixes

  • deps: bump @salesforce/core from 5.2.7 to 5.2.9 (59e63be)

4.3.5 (2023-09-09)

Bug Fixes

  • deps: bump @salesforce/core from 5.2.5 to 5.2.7 (7596fdd)

4.3.4 (2023-09-03)

Bug Fixes

  • deps: bump ts-retry-promise from 0.7.0 to 0.7.1 (44cd824)

4.3.3 (2023-09-02)

Bug Fixes

  • deps: bump @salesforce/core from 5.2.1 to 5.2.5 (ecac400)

4.3.2 (2023-08-27)

Bug Fixes

  • deps: bump @salesforce/kit from 3.0.9 to 3.0.11 (a7f63f7)

4.3.1 (2023-08-19)

Bug Fixes

  • deps: bump @salesforce/core from 5.2.0 to 5.2.1 (0e3647b)

4.3.0 (2023-08-09)

Features

4.2.9 (2023-08-07)

4.2.8 (2023-07-29)

Bug Fixes

  • deps: bump @salesforce/core from 4.3.7 to 4.3.11 (1c639b8)

4.2.7 (2023-07-23)

Bug Fixes

  • deps: bump @salesforce/kit from 3.0.5 to 3.0.6 (f3c2e8b)

4.2.6 (2023-07-15)

Bug Fixes

  • deps: bump @salesforce/kit from 3.0.4 to 3.0.5 (bdd899f)

4.2.5 (2023-07-11)

Bug Fixes

4.2.4 (2023-07-11)

Bug Fixes

  • deps: bump semver from 5.7.1 to 5.7.2 (68ef9a6)

4.2.3 (2023-07-08)

Bug Fixes

  • deps: bump @salesforce/core from 4.3.5 to 4.3.7 (c44e39e)

4.2.2 (2023-07-06)

Bug Fixes

  • ignore errors from when sessionDir can't be deleted (#508) (ea28f73)

4.2.1 (2023-07-06)

Bug Fixes

  • deps: bump @salesforce/core from 4.1.3 to 4.3.5 (#502) (ee04491)

4.2.0 (2023-07-06)

Features

  • logging testkit clean failures (5dbdace)

4.1.1 (2023-06-07)

Bug Fixes

  • deps: bump @salesforce/core from 4.1.2 to 4.1.3 (a07a82b)

4.1.0 (2023-06-06)

Features

4.0.1 (2023-05-31)

3.4.0 (2023-05-16)

Features

  • option to disable source tracking on scratch orgs (#470) (69b616c)

3.3.6 (2023-05-05)

Bug Fixes

  • move from sfdx examples/commands/defaults to sf (#462) (2cdee20)

3.3.5 (2023-04-29)

Bug Fixes

  • use newer envs to prevent warnings in NUTs (6a8b980)

3.3.4 (2023-04-23)

Bug Fixes

  • deps: bump @salesforce/core from 3.34.6 to 3.34.8 (d1087a8)

3.3.3 (2023-04-16)

Bug Fixes

  • deps: bump @types/shelljs from 0.8.11 to 0.8.12 (ded6146)

3.3.2 (2023-04-02)

Bug Fixes

  • deps: bump @salesforce/core from 3.34.4 to 3.34.6 (27eaadd)

3.3.1 (2023-03-25)

Bug Fixes

  • deps: bump @salesforce/core from 3.34.1 to 3.34.4 (4b603be)

3.3.0 (2023-03-24)

Features

3.2.26 (2023-03-19)

Bug Fixes

  • deps: bump @salesforce/core from 3.33.6 to 3.34.1 (a827c9d)

3.2.25 (2023-03-11)

Bug Fixes

  • deps: bump @salesforce/kit from 1.9.0 to 1.9.2 (98b705c)

3.2.24 (2023-03-04)

Bug Fixes

  • deps: bump @salesforce/core from 3.33.5 to 3.33.6 (50b4a04)

3.2.23 (2023-02-27)

Bug Fixes

  • remove deprecated sf env commands (16d99d8)

3.2.22 (2023-02-25)

Bug Fixes

  • deps: bump @salesforce/ts-types from 1.7.2 to 1.7.3 (efba7ee)

3.2.21 (2023-02-16)

Bug Fixes

  • always return stdout and stderr from execCmd (#406) (ca970ab)

3.2.20 (2023-01-31)

Bug Fixes

  • pipe output to files to avoid buffering and I/O ops, weird timeouts in plugin-packaging (a8d3b1b)

3.2.19 (2023-01-28)

Bug Fixes

  • deps: bump @salesforce/core from 3.32.12 to 3.33.1 (80f7281)

3.2.18 (2023-01-14)

Bug Fixes

  • deps: bump @salesforce/ts-types from 1.7.1 to 1.7.2 (efbff56)

3.2.17 (2023-01-05)

Bug Fixes

  • deps: bump json5 from 1.0.1 to 1.0.2 (bf784db)

3.2.16 (2023-01-04)

Bug Fixes

  • session.project knows from Options whether (#370) (8cc92d1)

3.2.15 (2022-12-24)

Bug Fixes

  • deps: bump @salesforce/core from 3.32.11 to 3.32.12 (a9d3cf9)

3.2.14 (2022-12-17)

Bug Fixes

  • deps: bump @salesforce/core from 3.32.9 to 3.32.11 (a1133f4)

3.2.13 (2022-12-11)

Bug Fixes

  • deps: bump @salesforce/core from 3.32.6 to 3.32.9 (4a8199d)

3.2.12 (2022-12-03)

Bug Fixes

  • deps: bump @salesforce/core from 3.32.2 to 3.32.6 (94bd158)

3.2.11 (2022-11-29)

Bug Fixes

  • auth with url when TESTKIT_HUB_USERNAME is passed (#345) (cb58b2b)

3.2.10 (2022-11-27)

Bug Fixes

  • deps: bump @salesforce/core from 3.32.1 to 3.32.2 (f9c69e7)

3.2.9 (2022-11-19)

Bug Fixes

  • deps: bump @salesforce/core from 3.31.19 to 3.32.1 (943da2e)

3.2.8 (2022-11-13)

Bug Fixes

  • deps: bump @salesforce/kit from 1.7.1 to 1.8.0 (1a540fa)

3.2.7 (2022-11-13)

Bug Fixes

  • deps: bump @salesforce/core from 3.31.17 to 3.31.19 (12643e9)

3.2.6 (2022-10-30)

Bug Fixes

  • deps: bump @salesforce/core from 3.31.16 to 3.31.17 (1572e10)

3.2.5 (2022-10-30)

Bug Fixes

  • deps: bump @salesforce/kit from 1.7.0 to 1.7.1 (6bf680d)

3.2.4 (2022-10-23)

Bug Fixes

  • deps: bump @salesforce/core from 3.31.10 to 3.31.16 (7f3a904)

3.2.3 (2022-10-15)

Bug Fixes

  • deps: bump @salesforce/core from 3.30.12 to 3.31.10 (c7783b9)

3.2.2 (2022-10-10)

Bug Fixes

  • strip ansi chars from stdout when authenticating the dev hub (#309) (9929bb4)

3.2.1 (2022-10-09)

Bug Fixes

  • deps: bump @salesforce/core from 3.30.9 to 3.30.12 (9e2dff2)

3.2.0 (2022-10-06)

Features

  • fewer scratch org timeouts (0644f9f)

3.1.2 (2022-10-04)

Bug Fixes

3.1.1 (2022-10-04)

Bug Fixes

3.1.0 (2022-10-04)

Features

  • save hubOrg to session instance (104f6ea)

3.0.3 (2022-10-04)

Bug Fixes

3.0.2 (2022-10-03)

Bug Fixes

  • default auth strategy to none (6e029dc)

3.0.1 (2022-10-03)

Bug Fixes

3.0.0 (2022-10-03)

BREAKING CHANGES

  • make testkit 2pp friendly

2.5.3 (2022-09-30)

Bug Fixes

  • deps: bump @salesforce/core from 3.30.8 to 3.30.9 (e7d71cb)

2.5.2 (2022-09-28)

Bug Fixes

2.5.1 (2022-09-27)

Bug Fixes

2.5.0 (2022-09-27)

Features

2.4.3 (2022-09-25)

Bug Fixes

  • deps: bump @salesforce/core from 3.30.2 to 3.30.8 (049183d)

2.4.2 (2022-09-25)

Bug Fixes

  • deps: bump @salesforce/kit from 1.6.0 to 1.6.1 (1f1e22b)

2.4.1 (2022-09-21)

Bug Fixes

2.4.0 (2022-09-17)

Features

2.3.15 (2022-09-17)

Bug Fixes

  • deps: bump @salesforce/core from 3.26.2 to 3.30.2 (26f132e)

2.3.14 (2022-09-17)

Bug Fixes

  • deps: bump @salesforce/ts-types from 1.5.20 to 1.5.21 (811c05a)

2.3.13 (2022-09-01)

2.3.12 (2022-09-01)

2.3.11 (2022-08-29)

Bug Fixes

  • move shelljs types from devDep to dep (#274) (a5b5b16)

2.3.10 (2022-08-02)

2.3.9 (2022-08-02)

2.3.8 (2022-08-02)

2.3.7 (2022-08-02)

2.3.6 (2022-08-01)

2.3.5 (2022-08-01)

2.3.4 (2022-07-02)

2.3.3 (2022-07-02)

2.3.2 (2022-07-01)

2.3.1 (2022-07-01)

2.3.0 (2022-06-08)

Features

  • raw exec output when stdout/stderr are empty (b93e8bc)

2.2.0 (2022-06-08)

Features

  • core bump for cache fixes (a8c890f)

2.1.4 (2022-06-06)

Bug Fixes

  • remove StateAgg, handle when username and authurl are provided (522ff33)

2.1.3 (2022-06-06)

Bug Fixes

  • globalinfo -> stateAggregator (6638739)

2.1.2 (2022-06-02)

Bug Fixes

  • clear globalInfo instance after every possible touchpoint (ca7dc01)

2.1.1 (2022-06-02)

2.1.0 (2022-06-01)

Features

  • native node delete retries (e4b336f)

2.0.1 (2022-06-01)

2.0.0 (2022-05-31)

Features

  • parking orbit (core3, jsforce2) (4575f9c)

1.5.35 (2022-05-03)

1.5.34 (2022-05-02)

1.5.33 (2022-05-02)

1.5.32 (2022-05-02)

1.5.31 (2022-05-02)

1.5.30 (2022-05-01)

1.5.29 (2022-05-01)

1.5.28 (2022-04-03)

1.5.27 (2022-04-03)

1.5.26 (2022-04-02)

1.5.25 (2022-04-02)

1.5.24 (2022-04-02)

1.5.23 (2022-04-02)

1.5.22 (2022-04-01)

1.5.21 (2022-04-01)

1.5.20 (2022-03-03)

1.5.19 (2022-03-03)

1.5.18 (2022-03-02)

1.5.17 (2022-03-02)

1.5.16 (2022-03-02)

1.5.15 (2022-03-02)

1.5.14 (2022-03-01)

1.5.13 (2022-03-01)

1.5.12 (2022-02-11)

Bug Fixes

  • add both stdout and stderr to getExitCodeError (49cccd7)

1.5.11 (2022-02-05)

1.5.10 (2022-02-03)

1.5.9 (2022-02-02)

1.5.8 (2022-02-02)

1.5.7 (2022-02-02)

1.5.6 (2022-02-02)

1.5.5 (2022-02-01)

1.5.4 (2022-02-01)

1.5.3 (2022-01-08)

1.5.2 (2022-01-08)

1.5.1 (2022-01-08)

1.5.0 (2022-01-07)

Features

  • retries on session rmDir (8632d5d)

1.4.33 (2022-01-03)

1.4.32 (2022-01-03)

1.4.31 (2022-01-03)

1.4.30 (2022-01-02)

1.4.29 (2022-01-02)

1.4.28 (2022-01-02)

1.4.27 (2022-01-02)

1.4.26 (2022-01-01)

1.4.25 (2022-01-01)

1.4.24 (2021-12-02)

1.4.23 (2021-12-02)

1.4.22 (2021-12-02)

1.4.21 (2021-12-02)

1.4.20 (2021-12-01)

1.4.19 (2021-12-01)

1.4.18 (2021-11-18)

1.4.17 (2021-11-02)

1.4.16 (2021-11-02)

1.4.15 (2021-11-02)

1.4.14 (2021-11-01)

1.4.13 (2021-11-01)

1.4.12 (2021-10-19)

Bug Fixes

1.4.11 (2021-10-12)

1.4.10 (2021-10-03)

1.4.9 (2021-10-03)

1.4.8 (2021-10-02)

1.4.7 (2021-10-02)

1.4.6 (2021-10-02)

1.4.5 (2021-10-02)

1.4.4 (2021-10-01)

1.4.3 (2021-10-01)

1.4.2 (2021-09-21)

1.4.1 (2021-09-10)

1.4.0 (2021-09-10)

Features

1.3.7 (2021-09-02)

1.3.6 (2021-09-02)

1.3.5 (2021-09-02)

1.3.4 (2021-09-02)

1.3.3 (2021-09-01)

1.3.2 (2021-09-01)

1.3.1 (2021-09-01)

Bug Fixes

  • include SfdxError props on SfdxExecCmdResult (#172) (9f852e0)

1.3.0 (2021-08-04)

Features

1.2.12 (2021-08-04)

1.2.11 (2021-08-03)

1.2.10 (2021-08-03)

1.2.9 (2021-08-03)

1.2.8 (2021-08-03)

1.2.7 (2021-08-02)

1.2.6 (2021-08-02)

1.2.5 (2021-08-02)

1.2.4 (2021-08-02)

1.2.3 (2021-08-01)

1.2.2 (2021-08-01)

1.2.1 (2021-07-23)

Bug Fixes

1.2.0 (2021-07-23)

Features

1.1.5 (2021-05-28)

1.1.4 (2021-05-26)

1.1.3 (2021-05-26)

1.1.2 (2021-05-24)

Bug Fixes

1.1.1 (2021-05-13)

Bug Fixes

1.1.0 (2021-05-13)

Features

  • add access token hub auth strategy (#90) (296df6e)

1.0.1 (2021-05-10)

1.0.0 (2021-05-05)

Bug Fixes

  • double wait time when deleting dirs (96d4388)

0.0.27 (2021-04-27)

Features

  • add the ability to override the default shell used by shelljs.exec (#69) (02d09d0)
  • bump version number to 0.0.27 (ffbd8cf)

0.0.25 (2021-04-05)

0.0.24 (2021-04-05)

0.0.23 (2021-04-05)

0.0.22 (2021-04-05)

0.0.21 (2021-04-05)

0.0.20 (2021-04-05)

0.0.19 (2021-04-05)

0.0.18 (2021-04-05)

0.0.17 (2021-04-01)

0.0.16 (2021-03-31)

Bug Fixes

  • throw if sfdx is not found (d6c2632)
  • throw when sfdx not found to run setup commands (a38ee45)

Features

  • generate a SAMPLES.md doc (041f172)

0.0.15 (2021-03-18)

Bug Fixes

  • delete existing orgs when before retrying setupCommands (89db509)

Features

  • add retry logic to setupCommands (8cffaf2)
  • use AsyncCreatable (76c8f22)

0.0.14 (2021-03-04)

Bug Fixes

Features

0.0.13 (2021-02-26)

Features

0.0.12 (2021-02-25)

Features

0.0.11 (2021-02-25)

Bug Fixes

0.0.10 (2021-02-21)

Bug Fixes

  • move sinon to dependencies from devDependencies (b13189d)

0.0.8 (2021-02-18)

0.0.7 (2021-02-18)

0.0.6 (2021-02-18)

Bug Fixes

  • properly format jwtkey prior to file save (c6045d3)

0.0.5 (2021-02-18)

Bug Fixes

Features

0.0.4 (2021-02-16)

Features

  • add TestProject, zipDir, and session updates (4b013ad)
  • adds a test session and test project class for NUTs (c17a39d)
  • changes based on code reviews and meetings (550ce79)
  • finishing touches on test session deletion and project creation (2920d3f)

0.0.3 (2021-02-03)

0.0.2 (2021-01-28)

0.0.1 (2021-01-28)