apexTestRun

Runs Apex Test cases.

Environment/Instance Properties

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 PathFDSF_CLI_PATHNoThe Salesforce CLI Path. (Eg: C:\Program Files\Salesforce CLI\bin)

Cloud Account Properties

Property Name

Property Code

Required

Description

Salesforce User Email

FDSFCA_USER

Yes

Authentication User Email.

Salesforce PasswordFDSFCA_PASSWORDNo

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 FileFDSFCA_SERVER_KEY_FILENoPath to a file containing the private key
Client IdFDSFCA_CLIENT_IDNoOAuth client ID (sometimes called the consumer key)
Development Org TypeFDSFCA_ORG_TYPENoEnter Org type for Development Environment. Eg: Sandbox or DevHub or Developer
Salesforce URLFDSFCA_URLNoThe login URL of the instance the org lives on
Sandbox NameFDSFCA_SANDBOXNoThe name of a Sandbox to access

  

Project Properties

Property Name

Property Code

Required

Description





  

Inputs

Input Name

Input Code

Required

Description

Salesforce Account CodeFDSF_INP_ACCOUNT_CODENoSalesforce Account Code
Apex Test Class NamesFDSF_INP_APEX_TEST_CLASSNAMESNoComma-separated list of Apex test class names to run.
Apex Test Suite NamesFDSF_INP_APEX_TEST_SUITENAMESNoComma-separated list of Apex test suite names to run.
Apex Test NamesFDSF_INP_APEX_TESTNAMESNoComma-separated list of Apex test class names or IDs and test methods, if applicable, to run.

  

Outputs

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 Environment/Instance.


Endpoint Execution

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