apexTestRun

Runs Apex Test cases.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Salesforce Account Code

FDSF_ACCOUNT_CODE

Yes

Salesforce Account with all the required properties like User, Password, Client Id, etc.

Salesforce Cli Path

FDSF_CLI_PATH

No

The Salesforce CLI Path. (Eg: C:\Program Files\Salesforce CLI\bin)

Cloud Account Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Salesforce User Email

FDSFCA_USER

Yes

Authentication User Email.

Salesforce Password

FDSFCA_PASSWORD

No

The Salesforce password for Salesforce User.

If you are using a security token, paste the 25-digit token value to the end of your password.

If you don't know the security token, see http://salesforce.stackexchange.com/questions/95259/where-is-reset-security-token-option-in-salesforce

JWT Key File

FDSFCA_SERVER_KEY_FILE

No

Path to a file containing the private key

Client Id

FDSFCA_CLIENT_ID

No

OAuth client ID (sometimes called the consumer key)

Development Org Type

FDSFCA_ORG_TYPE

No

Enter Org type for Development Environment. Eg: Sandbox or DevHub or Developer

Salesforce URL

FDSFCA_URL

No

The login URL of the instance the org lives on

Sandbox Name

FDSFCA_SANDBOX

No

The name of a Sandbox to access

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Salesforce Account Code

FDSF_INP_ACCOUNT_CODE

No

Salesforce Account Code

Apex Test Class Names

FDSF_INP_APEX_TEST_CLASSNAMES

No

Comma-separated list of Apex test class names to run.

Apex Test Suite Names

FDSF_INP_APEX_TEST_SUITENAMES

No

Comma-separated list of Apex test suite names to run.

Apex Test Names

FDSF_INP_APEX_TESTNAMES

No

Comma-separated list of Apex test class names or IDs and test methods, if applicable, to run.

Outputs

Output Name

Required

Description

Output Name

Required

Description

FDSF_OUT_TESTPERCENTAGE

No

Test Pass Percentage

Artifacts

This operation doesn’t consume or produce any artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the Target.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

The following macros are not currently supported in the footer:
  • style